public ListingsController(IPetOwnerRepository po, IAnimalRepository animalRepo, IListingRepository listingRepo, IEggRepository eggRepo) { _poRepo = po; _aRepo = animalRepo; _listingRepo = listingRepo; _eggRepo = eggRepo; }
/// <summary> /// Constructor takes three parameters and is handled automatically by ASP.NET /// </summary> /// <param name="poc">Constructor injection done by Services Providers</param> /// <param name="animalRepo">Constructor injection done by Services Providers</param> /// <param name="badgeRepository">Constructor injection done by Services Providers</param> /// <param name="eggRepo">Constructor injection done by Services Providers</param> public AnimalsController(IPetOwnerRepository poc, IAnimalRepository animalRepo, IBadgeRepository badgeRepository, IEggRepository eggRepo, IItemRepository itemRepo) { _poc = poc; _animalRepo = animalRepo; _badgeRepo = badgeRepository; _eggRepo = eggRepo; _itemRepo = itemRepo; }
public UsersController(IPetOwnerRepository por, UserManager <IdentityUser> um , IConfiguration configuration, SignInManager <IdentityUser> sim) { POR = por; UM = um; _config = configuration; _sim = sim; }
public PetProfileService(IUnitOfWork unitOfWork, IPetTreatmentRepository petTreatmentRepository, IPetIllnessRepository petIllnessRepository, IPetOwnerRepository petOwnerRepository, IPetProfileRepository petProfileRepository, IProvinceRepository provinceRepository, ICityRepository cityRepository) { _unitOfWork = unitOfWork; _petTreatmentRepository = petTreatmentRepository; _petIllnessRepository = petIllnessRepository; _petOwnerRepository = petOwnerRepository; _petProfileRepository = petProfileRepository; _provinceRepository = provinceRepository; _cityRepository = cityRepository; }
public ChatService(IChatRepository chatRepository, IProfileRepository profileRepository, IPetProfileRepository petProfileRepository, IUnitOfWork unitOfWork, IPetOwnerRepository petOwnerRepository, IAppointmentRepository appointmentRepository) { _chatRepository = chatRepository; _profileRepository = profileRepository; _petProfileRepository = petProfileRepository; _unitOfWork = unitOfWork; _petOwnerRepository = petOwnerRepository; _appointmentRepository = appointmentRepository; }
public PetOwnerController(IPetOwnerRepository repo, IConfiguration config , IImageRepository imageRepo, IListingRepository liRepo, IEggRepository eggRepo, UserManager <IdentityUser> um) { _poRepo = repo; _config = config; _imageRepo = imageRepo; _eggRepo = eggRepo; _listingRepo = liRepo; _um = um; }
public OwnerProfileService(IUnitOfWork unitOfWork, IPetOwnerRepository petOwnerRepository, IOwnerLocationRepository ownerLocationRepository, IOwnerProfileRepository ownerProfileRepository, IProvinceRepository provinceRepository, ICityRepository cityRepository, IUserRepository userRepository) { _unitOfWork = unitOfWork; _petOwnerRepository = petOwnerRepository; _ownerLocationRepository = ownerLocationRepository; _ownerProfileRepository = ownerProfileRepository; _provinceRepository = provinceRepository; _cityRepository = cityRepository; _userRepository = userRepository; }
public PetOwnerController(IPetOwnerRepository petOwnerRepository) => _petOwnerRepository = petOwnerRepository;
public void LoadJson() { repository = new PetOwnerRepository(API_URL_base, API_URL_json); }
public PetOwnerService(IUnitOfWork unitOfWork, IPetOwnerRepository petOwnerRepository) { _unitOfWork = unitOfWork; _petOwnerRepository = petOwnerRepository; }
public EggsController(IPetOwnerRepository poRepo, IEggRepository eggRepo) { _poRepo = poRepo; _eggRepo = eggRepo; }
public PetOwnerService(IPetOwnerRepository repository) { this.petRepository = repository; }
public PetOwnerService(IPetOwnerRepository petRepository) { _petRepository = petRepository; }
public void SetUp() { // set up mock oject _repository = MockPetOwnerRepository.SetUpMock().Object; }
public MarketController(IPetOwnerRepository poc, IMarketRepository marktRepo) { _poc = poc; _marketRepo = marktRepo; }
/// <summary> /// Constructor /// </summary> /// <param name="iPetOwnerRepository">Repository interface to be used</param> public CatListController(IPetOwnerRepository iPetOwnerRepository) { // set repository _iPetOwnerRepository = iPetOwnerRepository; }
public PetOwnerService(IPetOwnerRepository dogOwnerRepository, IOwnerRepository ownerRepository, IPetRepository petRepository) { _dogOwnerRepository = dogOwnerRepository; _petRepository = petRepository; _ownerRepository = ownerRepository; }