示例#1
0
 public MealsController(IMealAppService mealService, IIngredientAppService ingredientService)
 {
     _mealService       = mealService;
     _ingredientService = ingredientService;
     //db = new DiaryDbContext();
 }
 public ApprovalsController(IIngredientAppService ingredientService, INutritionFactAppService nutritionFactService)
 {
     _ingredientService    = ingredientService;
     _nutritionFactService = nutritionFactService;
 }