public ManagerMenu(ICustomerBL customerBL, IProductBL productBL, ILocationBL locationBL, IInventoryBL inventoryBL, IOrderBL orderBL, ICartBL cartBL, ICartProductsBL cartProductsBL, IOrderItemsBL orderItemsBL)
        {
            _customerBL     = customerBL;
            _productBL      = productBL;
            _locationBL     = locationBL;
            _orderBL        = orderBL;
            _inventoryBL    = inventoryBL;
            _cartBL         = cartBL;
            _cartProductsBL = cartProductsBL;
            _orderItemsBL   = orderItemsBL;

            //generate menus necessary for managermenu access
            customerSearch  = new CustSearch(_customerBL, _orderBL);
            productSearch   = new ProductSearch(_productBL, _cartProductsBL, _inventoryBL);
            inventorySearch = new InventorySearch(_inventoryBL);
            orderSearch     = new OrderSearch(_orderBL, _orderItemsBL, _productBL);
        }
Пример #2
0
 public CartController(ICartBL cartBL)
 {
     this.cartBL = cartBL;
 }
 public CartController(ICartBL cartBL, IConfiguration configuration)
 {
     this.cartBL        = cartBL;
     this.configuration = configuration;
 }
Пример #4
0
 public CartController(ICartBL _cartBL)
 {
     cartBL = _cartBL;
 }
 public CartController()
 {
     model  = new CartViewModel();
     cartBL = new CartBL();
 }
Пример #6
0
 public CartController()
 {
     _cartBL = new CartBL();
 }
Пример #7
0
 public CartController(ICartBL customerCartBL)
 {
     this.customerCartBL = customerCartBL;
 }
Пример #8
0
 public CartController(ICartBL cart)
 {
     cbl = cart;
 }
Пример #9
0
 public CartController(ICartBL cartBuiseness)
 {
     this.cartBuiseness = cartBuiseness;
 }
Пример #10
0
 public MainMenu(ICustomerBL customerBL, IProductBL productBL, ILocationBL locationBL, IInventoryBL inventoryBL, IOrderBL orderBL, ICartBL cartBL, ICartProductsBL cartProductsBL, IOrderItemsBL orderItemsBL)
 {
     //create required menu views in constructor, pass in required BL/DL connections
     managerMenu = new ManagerMenu(customerBL, productBL, locationBL, inventoryBL, orderBL, cartBL, cartProductsBL, orderItemsBL);
 }