public PhotosController(IBrewRepository 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 SaveBrewCommandHandler(IBrewRepository repo, ICurrentUser currentUser) { _repo = repo; _currentUser = currentUser; }
public BrewController(IBrewRepository brewRepository, IMapper mapper, IEventBus eventBus) { _brewRepository = brewRepository; _mapper = mapper; _eventBus = eventBus; }
public Query([Service] IBrewRepository repository) { m_repository = repository; }
public Mutation([Service] IBrewRepository brewRepository) { m_brewRepository = brewRepository; }
public GetBrewQueryHandler(IBrewRepository repo) { _repo = repo; }
public BrewManager(IBrewRepository repository) : base(repository) { }
public ListBrewsQueryHandler(IBrewRepository repo) { _repo = repo; }
public ProducedGoodsService(IProducedGoodsRepository producedGoodsRepository, IBrewRepository brewRepository, IRecipeRepository recipeRepository) { this.recipeRepository = recipeRepository; this.brewRepository = brewRepository; this.producedGoodsRepository = producedGoodsRepository; }
public BrewService(IBrewRepository brewRepository, IRecipeRepository recipeRepository) { this.brewRepository = brewRepository; this.recipeRepository = recipeRepository; }
public UsersController(IBrewRepository repo, IMapper mapper) { _mapper = mapper; _repo = repo; }