Пример #1
0
 public UserController(IUserRepository repository, IConfiguration configuration, IOptions <AppSettings> appSettings, IFOHCAFRepository fohcafRepository, IMapper mapper)
 {
     _repository       = repository;
     _fohcafRepository = fohcafRepository;
     _mapper           = mapper;
     _configuration    = configuration;
     _appSettings      = appSettings.Value;
 }
Пример #2
0
 public PhotosController(IHostingEnvironment host, IMapper mapper, IFOHCAFRepository repository, IPhotoRepository photoRepository, IOptionsSnapshot <PhotoSettings> options)
 {
     _photoSettings   = options.Value;
     _photoRepository = photoRepository;
     _repository      = repository;
     _mapper          = mapper;
     _host            = host;
 }
Пример #3
0
 public FohcafController(IMapper mapper, IFOHCAFRepository repository)
 {
     _mapper     = mapper;
     _repository = repository;
 }