Ejemplo n.º 1
0
 public CategoryApiController(PetstoreDBContext _context)//PetstoreDBContext context)
 {
     _categoryDal = new CategoryDal(_context);
 }
Ejemplo n.º 2
0
 public PetApiController(PetstoreDBContext _context)
 {
     _petDal      = new PetDal(_context);
     _categoryDal = new CategoryDal(_context);
 }