Beispiel #1
0
 public MealService(GenericAccessInterface genericAccess, FoodAccessInterface foodAccess, MealsAccessInterface mealAcess, FoodInMealsAccessInterface foodInMealsAccess)
 {
     _genericAccess     = genericAccess;
     _foodAccess        = foodAccess;
     _mealAccess        = mealAcess;
     _foodInMealsAccess = foodInMealsAccess;
 }
Beispiel #2
0
 public MealController(GenericAccessInterface genericAccess, FoodAccessInterface foodAccess,
                       MealsAccessInterface mealAccess, FoodInMealsAccessInterface foodsInMealAccess)
 {
     _genericAccess     = genericAccess;
     _foodAccess        = foodAccess;
     _mealAccess        = mealAccess;
     _foodsInMealAccess = foodsInMealAccess;
 }