public MealController(IMapper mapper, IMealService mealService, IHostEnvironment environment, IFood_CategoryService foodCategoryService, IFoodService foodService) { this.environment = environment; this.mapper = mapper; this.mealService = mealService; this.foodCategoryService = foodCategoryService; this.foodService = foodService; }
public UserController(IMapper mapper, IUserService userService, IFoodService foodService, IFood_CategoryService categoryService, IDietService dietService) { this.mapper = mapper; this.userService = userService; this.foodService = foodService; this.foodCategoryService = categoryService; this.dietService = dietService; }
public FoodCategoryController(IMapper mapper, IFood_CategoryService foodCategoryService) { this.mapper = mapper; this.foodCategoryService = foodCategoryService; }