Example #1
0
 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;
 }
Example #2
0
 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;
 }
Example #3
0
 public FoodCategoryController(IMapper mapper, IFood_CategoryService foodCategoryService)
 {
     this.mapper = mapper;
     this.foodCategoryService = foodCategoryService;
 }