public ClientUserController(PetshopDbContext context) { _context = context; }
public AnimalRepository(PetshopDbContext context) : base(context) { }
public BaseRepository(PetshopDbContext context) { this.context = context; dbSet = context.Set <T>(); }
public AccommodationRepository(PetshopDbContext context) : base(context) { }
public AnimalController(PetshopDbContext petshopDbContext, IAccommodationRepository accommodationRepository, IAnimalRepository animalRepository) { _petshopDbContext = petshopDbContext; _accommodationRepository = accommodationRepository; _animalRepository = animalRepository; }