public RecipeIngredientController(IRecipeService recipeService, IRecipeIngredientService recipeCategoryService, IIngredientService ingredientService, IMeasurementTypeService measurementTypeService, IPreparationTypeService preparationTypeService) { _recipeService = recipeService; _ingredientService = ingredientService; _recipeIngredientService = recipeCategoryService; _measurementTypeService = measurementTypeService; _preparationTypeService = preparationTypeService; }
public RecipesController(IRecipeService recipeService, ICuisineService cuisineService, IDificultyService difficultyService, IRecipeIngredientService recipeIngredientService, IRecipeCategoryService recipeCategoryService, IRecipeOccasionService recipeOccasionService, IRecipeStepService recipeStepService, IUserRatingService userRatingService, ICommentService commentService ) { _recipeService = recipeService; _cuisineService = cuisineService; _difficultyService = difficultyService; _recipeCategoryService = recipeCategoryService; _recipeIngredientService = recipeIngredientService; _recipeOccasionService = recipeOccasionService; _recipeStepService = recipeStepService; _userRatingService = userRatingService; _commentService = commentService; }
public RecipeService(RecipeDA recipeDA, IRecipeIngredientService recipeIngredientService, IRecipeInstructionService recipeInstructionService) { this.recipeDA = recipeDA; this.recipeIngredientService = recipeIngredientService; this.recipeInstructionService = recipeInstructionService; }
public CreateRecipeCommandHandler(RecipeBookDbContext context, IRecipeValidatorService recipeValidatorService, IRecipeIngredientService recipeIngredientService) : base(context) { _recipeValidatorService = recipeValidatorService; _recipeIngredientService = recipeIngredientService; }
public RecipeIngredientsController() { _recipeIngredientService = new RecipeIngredientService(db); }