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