/Dotnet-Repository-Pattern-Template

Implementation of sample repository pattern with unit of work in Dotnet

Primary LanguageC#MIT LicenseMIT

Repository Pattern Template

Dotnet repository pattern template with unit of work. This is the basic setup for the repository pattern to work with and to understand how to implement.

In this example three layers has been used.

Api - To expose the data to the user
BL - Service Layer - Handle all the business logic and deal with the repository for CRUD
Persistence- To deal with the persistence - Encapsulate large/complex queries.

Explanation regarding the implementation available in the CodeProject.
Guidance for the implementation of repository pattern