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; }
public CartController(ICartBL _cartBL) { cartBL = _cartBL; }
public CartController() { model = new CartViewModel(); cartBL = new CartBL(); }
public CartController() { _cartBL = new CartBL(); }
public CartController(ICartBL customerCartBL) { this.customerCartBL = customerCartBL; }
public CartController(ICartBL cart) { cbl = cart; }
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); }