PrepAway - Latest Free Exam Questions & Answers

Which layer should you recommend?

You are designing a testing methodology for an ASP.NET MVC 2 Web application. The
application has a simple domain model that provides a thin wrapper over a data access
layer. Controllers interact with the domain model directly and use methods on repository
objects to save and retrieve objects from the data access layer. You have the following
requirements: • Centralize data operations. • Directly validate data access rules. You need
to design tests against the appropriate layer to meet the requirements. Which layer should
you recommend?

PrepAway - Latest Free Exam Questions & Answers

A.
the controllers

B.
the domain model

C.
the data access layer

D.
the repository objects


Leave a Reply