public ManageMealsController(MealRepository mealRepository, IngredientRepository ingredientRepository, IngredientCategoryRepository ingredientCategoryRepository) { this.mealRepository = mealRepository; this.ingredientRepository = ingredientRepository; this.ingredientCategoryRepository = ingredientCategoryRepository; }
public SearchMealController(IngredientRepository ingredientRepository, MealRepository mealRepository, IngredientCategoryRepository ingredientCategoryRepository) { this.ingredientRepository = ingredientRepository; this.mealRepository = mealRepository; this.ingredientCategoryRepository = ingredientCategoryRepository; }