public RecipesController(
     IRecipesService recipesService,
     ICategoriesService categoriesService,
     IIngredientsService ingredientsService,
     ICookingVesselsService cookingVesselsService,
     ICategoryRecipesService categoryRecipeService,
     UserManager <ApplicationUser> userManager,
     IWebHostEnvironment webHostEnvironment)
 {
     this.recipesService        = recipesService;
     this.categoriesService     = categoriesService;
     this.ingredientsService    = ingredientsService;
     this.cookingVesselsService = cookingVesselsService;
     this.categoryRecipeService = categoryRecipeService;
     this.userManager           = userManager;
     this.webHostEnvironment    = webHostEnvironment;
 }
Beispiel #2
0
 public CookingVesselsController(ICookingVesselsService cookingVesselsService)
 {
     this.cookingVesselsService = cookingVesselsService;
 }