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);
        }
 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;
 }
 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);
 }