Skip to content

Implementation of sample repository pattern with unit of work in Dotnet

License

Notifications You must be signed in to change notification settings

jeevasusej/Dotnet-Repository-Pattern-Template

Repository files navigation

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