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;
        }
Beispiel #2
0
 public RecipeStepsController(IRecipeStepService recipeStepService, IItemService itemService)
 {
     this.recipeStepService = recipeStepService;
     this.itemService       = itemService;
 }
Beispiel #3
0
 /// <summary>
 /// Creates a new StepsController to access recipe step interaction
 /// </summary>
 /// <param name="service"></param>
 public StepsController(IRecipeStepService service)
 {
     _service = service;
 }