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