Ejemplo n.º 1
0
 public RecipesController(IHtmlHelper htmlHelper,
                          IRecipeData recipeData,
                          IRecipeComponentData recipeComponentData,
                          IIngredientData ingredientData,
                          IUserRecipeData userRecipeData,
                          IWebHostEnvironment webHostEnvironment)
 {
     _htmlHelper          = htmlHelper;
     _recipeData          = recipeData;
     _recipeComponentData = recipeComponentData;
     _ingredientData      = ingredientData;
     _userRecipeData      = userRecipeData;
     _webHostEnvironment  = webHostEnvironment;
 }
Ejemplo n.º 2
0
 public FavouritesController(IUserRecipeData userRecipeData)
 {
     _userRecipeData = userRecipeData;
 }