예제 #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;
 }
예제 #2
0
 public AccountController(IOrderManager orderManager, IUserManager userManager, ICourierManager courierManager, ICustomerManager customerManager, IOrder_DishesManager order_DishesManager, IDishManager dishManager, ICityManager cityManager)
 {
     OrderManager        = orderManager;
     UserManager         = userManager;
     CourierManager      = courierManager;
     CustomerManager     = customerManager;
     Order_DishesManager = order_DishesManager;
     DishManager         = dishManager;
     CityManager         = cityManager;
 }
예제 #3
0
 public CartController(IDishManager dishManager, ICourierManager courierManager, IUserManager userManager, ICustomerManager customerManager, IOrderManager orderManager, IOrder_DishesManager order_DishesManager, IRestaurantManager restaurantManager)
 {
     DishManager         = dishManager;
     CourierManager      = courierManager;
     UserManager         = userManager;
     CustomerManager     = customerManager;
     OrderManager        = orderManager;
     Order_DishesManager = order_DishesManager;
     RestaurantManager   = restaurantManager;
 }
예제 #4
0
 public DeliveryManager(
     IRepository <Delivery> deliveryRepository,
     ICustomerManager customerManager,
     ICourierManager courierManager,
     ITypeOfCargoManager typeOfCargoManager,
     ITransportManager transportManager,
     IDepartureManager departureManager)
 {
     this.deliveryRepository = deliveryRepository ?? throw new ArgumentNullException(nameof(deliveryRepository));
     this.CustomerManager    = customerManager ?? throw new ArgumentNullException(nameof(customerManager));
     this.CourierManager     = courierManager ?? throw new ArgumentNullException(nameof(courierManager));
     this.TypeOfCargoManager = typeOfCargoManager ?? throw new ArgumentNullException(nameof(typeOfCargoManager));
     this.TransportManager   = transportManager ?? throw new ArgumentNullException(nameof(transportManager));
     this.DepartureManager   = departureManager ?? throw new ArgumentNullException(nameof(departureManager));
 }
예제 #5
0
 public CourierForm(ICourierManager courierManager)
 {
     this.courierManager = courierManager;
     this.InitializeComponent();
     this.FillCourierTable();
 }
예제 #6
0
 public CourierController(ICourierManager courierManager, IOrdersManager ordersManager)
 {
     CourierManager = courierManager;
     OrderManager   = ordersManager;
 }
예제 #7
0
 public CourierController(ICourierManager courierManager)
 {
     CourierManager = courierManager;
 }