private readonly AnimalShelterContext _db; // declare priave readonly AnimalShelterContext public TypesController(AnimalShelterContext db) // constructor that sets the value of _db proprty to TypesContext { _db = db; }
public SpeciesController(AnimalShelterContext db) { _db = db; }
public AnimalTypesController(AnimalShelterContext db) { _db = db; }
public EntityBaseRepository(AnimalShelterContext context) { _context = context; }
public UsersController(IUserService userService, AnimalShelterContext db) { _userService = userService; _db = db; }
public RoleRepository(AnimalShelterContext context) : base(context) { }
public RightsToUserRepository(AnimalShelterContext context) : base(context) { }
public AnimalsController(AnimalShelterContext dataBase) { _dataBase = dataBase; }
public AnimalsTwoController(AnimalShelterContext db) { _db = db; }
public TypeClassGroupController(AnimalShelterContext _db) { _db = db; }
public UserToAnimalShelterRepository(AnimalShelterContext context) : base(context) { }
public ShelterListController(AnimalShelterContext db) { _db = db; }
private readonly AnimalShelterContext _db; //constructor public AnimalsController(AnimalShelterContext db) { _db = db;//sets new _db property }
public VaccinationsController(AnimalShelterContext db) { _db = db; }
public DetailGroupController(AnimalShelterContext db) { _db = db; }
public RemarksController(AnimalShelterContext context) { _context = context; }
public AnimalsController(AnimalShelterContext context) { _context = context; }
public AnimalsToAnimalShelterRepository(AnimalShelterContext contex) : base(contex) { }
public UserService(IOptions <AppSettings> appSettings, AnimalShelterContext db) { _appSettings = appSettings.Value; _users = db; }
public CategoriesController(AnimalShelterContext db) { _db = db; }
public PhotoRepository(AnimalShelterContext context) : base(context) { }
public AnimalsPrevioslyOwnedController(AnimalShelterContext db) { _db = db; }
public FavoriteAnimalRepository(AnimalShelterContext context) : base(context) { }
public UsersController(AnimalShelterContext db, IUserService userService) { _db = db; _userService = userService; }
public DogsController(AnimalShelterContext db) { _db = db; }
public PreviousOwnerController(AnimalShelterContext db) { _db = db; }