Пример #1
0
 public RestaurantsController(IFoodTypeRepository foodType, IFoodCategoryRepository foodCategory, IRestaurantRepository restaurant, IRestaurantFoodRepository restaurantFood, IFoodRepository food)
 {
     _foodType       = foodType;
     _foodCategory   = foodCategory;
     _restaurant     = restaurant;
     _restaurantFood = restaurantFood;
     _food           = food;
 }
Пример #2
0
 public GetMenu(IRestaurantFoodRepository restaurantFood)
 {
     _restaurantFood = restaurantFood;
 }