public DogsRepository(PetShopDbContext context)
 {
     _context = context;
 }
示例#2
0
 public UnitOfWork(PetShopDbContext context)
 {
     Dogs = new DogsRepository(context);
 }