Пример #1
0
 public TemperamentController(ITemperamentRepository repository, //ICatBreedRepository catBreedsRepository,
                              IMapper mapper)
 {
     _repository = repository;
     //_catBreedsRepository = catBreedsRepository;
     _mapper = mapper;
 }
Пример #2
0
 public MatchesService(IDogRepository dogRepository, IDogProfileService dogProfileService, IMapper mapper, ITemperamentRepository temperamentRepository)
 {
     _dogRepository         = dogRepository;
     _dogProfileService     = dogProfileService;
     _temperamentRepository = temperamentRepository;
     _mapper = mapper;
 }
 public SpeciesEditPageViewModelFactory(INavigationViewModelFactory navigationViewModelFactory, ISpeciesRepository speciesRepository, IGenusRepository genusRepository, ITemperamentRepository temperamentRepository)
 {
     this.navigationViewModelFactory = navigationViewModelFactory;
     this.speciesRepository = speciesRepository;
     this.genusRepository = genusRepository;
     this.temperamentRepository = temperamentRepository;
 }
Пример #4
0
 public DogRepository(DogMatchDbContext context, ILogger <DogRepository> logger, ITemperamentRepository temperamentRepository)
 {
     _context = context;
     _dbSet   = context.Set <Dogs>();
     _logger  = logger;
     _temperamentRepository = temperamentRepository;
 }
Пример #5
0
 public DogProfileService(IDogRepository dogRepository, IMapper mapper, ITemperamentRepository temperamentRepository)
 {
     _dogRepository         = dogRepository;
     _mapper                = mapper;
     _temperamentRepository = temperamentRepository;
 }
Пример #6
0
 public TemperamentService(ITemperamentRepository repository, IMapper mapper)
 {
     _repository = repository;
     _mapper     = mapper;
 }