A simple sample of N-tier architecture of .NET 6 solution To run this project please run this command first : update-database The main concepts was used in this sample are : Unit of work , Repository design pattern , Entity framework core , Swagger UI , Restful api , Mapper