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 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; }
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; }
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)); }
public CourierForm(ICourierManager courierManager) { this.courierManager = courierManager; this.InitializeComponent(); this.FillCourierTable(); }
public CourierController(ICourierManager courierManager, IOrdersManager ordersManager) { CourierManager = courierManager; OrderManager = ordersManager; }
public CourierController(ICourierManager courierManager) { CourierManager = courierManager; }