public PhotosController(IConnectRepository connectRepository, IMapper mapper, IOptions <CloudinarySettings> cloudinaryOptions) { this._cloudinaryOptions = cloudinaryOptions; this._mapper = mapper; this._connectRepository = connectRepository; Account account = new Account(this._cloudinaryOptions.Value.CloudName, this._cloudinaryOptions.Value.ApiKey, this._cloudinaryOptions.Value.ApiSecret); this._cloudinary = new Cloudinary(account); }
public PhotosController(IConnectRepository repo, IMapper mapper, IOptions <CloudinarySettings> cloudinaryConfig) { _cloudinaryConfig = cloudinaryConfig; _mapper = mapper; _repo = repo; Account acc = new Account( _cloudinaryConfig.Value.CloudName, _cloudinaryConfig.Value.ApiKey, _cloudinaryConfig.Value.ApiSecret ); _cloudinary = new Cloudinary(acc); }
public UserController(IConnectRepository connectRepository, IMapper mapper) { this._mapper = mapper; this._connectRepository = connectRepository; }
public MessagesController(IConnectRepository repo, IMapper mapper) { _mapper = mapper; _repo = repo; }
public JobFactory(IConnectRepository ConnectRepository, IDetailsServerRepository serverRepository) { _connectRepository = ConnectRepository; _serverRepository = serverRepository; }