Which one is better practice to call base unit of work or separated business layer from controller?

前端 未结 0 1195
借酒劲吻你
借酒劲吻你 2020-12-04 09:05

Example 1 (All repositories in unit of work. Controller call unit of work)

HomeController.cs

private readonly IBaseUnitOfWork _uow;
public HomeCont         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题