alirizaadiyahsi / Nucleus

Vue startup application template that uses ASP.NET Core API layered architecture at the back-end and JWT based authentication
MIT License
356 stars 87 forks source link

Generic Repository ve Unit of Work #105

Closed murattdogan closed 6 years ago

murattdogan commented 6 years ago

Generic Repository ve Unit of Work in EF Core

alirizaadiyahsi commented 6 years ago

No plan to work with different DBs. So no need/plan to implement repository pattern. And unit of work is handling in action filter that named UnitOfWorkFilter.cs.

Check this: https://github.com/alirizaadiyahsi/Nucleus/blob/dev/src/Nucleus.Web.Core/ActionFilters/UnitOfWorkFilter.cs