Aug 09, 2016 05:46 AM|Chris Zhao|LINK
You can consider using the
Repository Pattern. Use a repository to separate the logic that retrieves the data and maps it to the entity model from the business logic that acts on the model.
Implementing the Repository and Unit of Work Patterns in an ASP.NET MVC Application
How to Implement the Repository Pattern in ASP.NET MVC Application