示例#1
0
 public ManageMealsController(MealRepository mealRepository, IngredientRepository ingredientRepository, IngredientCategoryRepository ingredientCategoryRepository)
 {
     this.mealRepository               = mealRepository;
     this.ingredientRepository         = ingredientRepository;
     this.ingredientCategoryRepository = ingredientCategoryRepository;
 }
示例#2
0
 public SearchMealController(IngredientRepository ingredientRepository, MealRepository mealRepository, IngredientCategoryRepository ingredientCategoryRepository)
 {
     this.ingredientRepository         = ingredientRepository;
     this.mealRepository               = mealRepository;
     this.ingredientCategoryRepository = ingredientCategoryRepository;
 }