public RecipeService( ITaskService taskService, ICdnService cdnService, IUserService userService, IRecipesRepository recipesRepository, IMapper mapper) { _taskService = taskService; _cdnService = cdnService; _userService = userService; _recipesRepository = recipesRepository; _mapper = mapper; }
public RecipesController(IRecipesRepository recipesRepository, IInstructionsRepository instructionsRepository, IIngredientsRepository ingredientsRepository, IProductsRepository productsRepository, IProductStoresRepository productStoresRepository, IStoresRepository storesRepository) { _recipesRepository = recipesRepository; _instructionsRepository = instructionsRepository; _ingredientsRepository = ingredientsRepository; _productsRepository = productsRepository; _productStoresRepository = productStoresRepository; _storesRepository = storesRepository; }
public RecipesController(IRecipesRepository repository, IMapper mapper, IOptions <CloudinarySettings> cloudinaryConfig) { _cloudinaryConfig = cloudinaryConfig; _repository = repository; _mapper = mapper; Account acc = new Account( _cloudinaryConfig.Value.CloudName, _cloudinaryConfig.Value.ApiKey, _cloudinaryConfig.Value.ApiSecret ); _cloudinary = new Cloudinary(acc); }
public RecipesRepositoryTests(RecipeDbContextFixture recipeDbContextFixture) { var services = new ServiceCollection(); services.AddAutoMapper(typeof(RecipesDbContext).Assembly); this.serviceProvider = services.BuildServiceProvider(); this.recipeDbContextFixture = recipeDbContextFixture; this.recipesRepository = new Repositories.RecipesRepository( this.recipeDbContextFixture.RecipesDbContext, this.serviceProvider.GetService <IMapper>() ); }
public RecipesController( UserManager <ApplicationUser> userManager, IMapper mapper, IRecipesRepository recipesRepository, IUsersRepository usersRepository, ITagsRepository tagsRepository, IIngredientsRepository ingredientsRepository, IFavouriteRecipesRepository favouriteRecipesRepository) { _userManager = userManager; _mapper = mapper; this.recipesRepository = recipesRepository; this.usersRepository = usersRepository; this.tagsRepository = tagsRepository; this.ingredientsRepository = ingredientsRepository; this.favouriteRecipesRepository = favouriteRecipesRepository; }
public DataService(IRecipesRepository recipesRepository, IIngredientRepository ingredientRepository, IUnitRepository unitRepository) { this.unitRepository = unitRepository; this.recipesRepository = recipesRepository; this.ingredientRepository = ingredientRepository; }
public RecipesService(IRecipesRepository repo) { _repo = repo; }
public RecipesController(IRecipesRepository recipes) { _recipes = recipes; }
public RecipesService(IRecipesRepository <Recipe> recipesRepository, CookbookDbContext context, IMapper mapper, IUserContextService userContextService, IAuthorizationService authorizationService) : base(context, mapper, userContextService, authorizationService) { _recipesRepository = recipesRepository; }
public WeeklyMenuService(IWeeklyMenuRepository MenuRepo, IRecipesRepository RecipeRepo) { this.MenuRepo = MenuRepo; this.RecipeRepo = RecipeRepo; }
public UsersController(IRecipesRepository repo, IMapper mapper) { _repo = repo; _mapper = mapper; }
public UsersController(IRecipesRepository recipesRepository, IMapper mapper, IUserRepository userRepository) { _userRepository = userRepository; _recipesRepository = recipesRepository; _mapper = mapper; }
public FindRecipeController(IRecipesRepository repository) { _repository = repository; }
public RatingService(IRatingRepository RatingRepo, IRecipesRepository RecipeRepository) { this.RatingRepo = RatingRepo; this.RecipeRepository = RecipeRepository; }
public RecipesController(IRecipesRepository repository) { _repository = repository; }
public AddRecipeCommandHandler([NotNull] IRecipesRepository recipesRepository) { _recipesRepository = recipesRepository ?? throw new ArgumentNullException(nameof(recipesRepository)); }
public RecipesController(IRecipesRepository repo = null) =>
public HomeController(IRecipesRepository recipesRepo) { _recipesRepo = recipesRepo; }
public RecipesService(IRecipesRepository recipesRepository, IRecipeTypesService recipeTypesService) { _recipeRepository = recipesRepository; _recipeTypesService = recipeTypesService; }
public RecipesService(IRecipesRepository recipesRepository, IIngredientsRepository ingredientsRepository) { _recipesRepository = recipesRepository; _ingredientsRepository = ingredientsRepository; }
public RecipesController(IRecipesRepository recipesRepository, IMapper mapper) { _recipesRepository = recipesRepository ?? throw new ArgumentNullException(nameof(recipesRepository)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
public Handler(IRecipesRepository recipesRepository, IUserContext userContext) { this.recipesRepository = recipesRepository; this.userContext = userContext; }
public GetUserRecipesQueryHandler(IRecipesRepository recipesRepository) { _recipesRepository = recipesRepository; }
public RecipeCoreController(IRecipesRepository reciperepository) { _recipeRepository = reciperepository; }
public LeftMenuController(IRecipesRepository repository) { this.repository = repository; }
public ValuesController(IRecipesRepository reciperepository) { _recipeRepository = reciperepository; }
public RecipesService(IRecipesRepository RecipeRepo) { this.RecipeRepo = RecipeRepo; }
public CategoryController(IRecipesRepository repository) { this.repository = repository; }
public RecipeController(IRecipesRepository repository) { this.repository = repository; }
public RecipesController(IRecipesRepository repository, IFoodItemsRepository foodItemsRepository) { _recipeRepository = repository; _foodItemsRepository = foodItemsRepository; }
public GetRecipeQueryHandler([NotNull] IRecipesRepository recipesRepository) { _recipesRepository = recipesRepository ?? throw new ArgumentNullException(nameof(recipesRepository)); }
public RecipesController(IRecipesRepository _recipesRepository, ILogger <RecipesController> _logger) { recipesRepository = _recipesRepository; logger = _logger; }
public RecipesService(IRecipesRepository recipesRepository) { _recipesRepository = recipesRepository; }