Пример #1
0
 public DishController(IDishesManager dishesManager, IRestaurantsManager restaurantsManager, ICourierManager courierManager, IOrder_dishesManager order_dishesManager, IOrdersManager orderManager, ICitiesManager citiesManager, ICustomersManager customerManager)
 {
     DishesManager       = dishesManager;
     RestaurantsManager  = restaurantsManager;
     CourierManager      = courierManager;
     Order_dishesManager = order_dishesManager;
     OrderManager        = orderManager;
     CitiesManager       = citiesManager;
     CustomerManager     = customerManager;
 }
 public RestaurantController(IRestaurantsManager restaurantsManager, IDishesManager dishesManager)
 {
     RestaurantsManager = restaurantsManager;
     DishesManager      = dishesManager;
 }
Пример #3
0
 public RestaurantsController(IRestaurantsManager restaurantsManager)
 {
     this.restaurantsManager = restaurantsManager;
 }
Пример #4
0
 public RestaurantController(IRestaurantsManager restaurantsManager)
 {
     RestaurantsManager = restaurantsManager;
 }
Пример #5
0
 public DishesController(IDishesManager dishesManager, IRestaurantsManager restaurantsManager)
 {
     this.dishesManager      = dishesManager;
     this.restaurantsManager = restaurantsManager;
 }