public ManagerMenu(ICustomerBL customerBL, ILocationBL locationBL, IOrderBL orderBL, IProductBL productBL, IInventoryBL inventoryBL)
 {
     _customerBL  = customerBL;
     _locationBL  = locationBL;
     _orderBL     = orderBL;
     _productBL   = productBL;
     _inventoryBL = inventoryBL;
 }
 // DrinkMenu drinkMenu = new DrinkMenu();
 public CustomerMenu(IDrinkBL drinkBL, ICustomerBL customerBL, ILocationBL locationBL, IOrderBL orderBL, InventoryBL inventoryBL)
 {
     _customerBL  = customerBL;
     _drinkBL     = drinkBL;
     _locationBL  = locationBL;
     _orderBL     = orderBL;
     _inventoryBL = inventoryBL;
 }
 public InventoryMenu(ILocationBL locationBL, IProductBL productBL, IInventoryBL inventoryBL, IOrderBL orderBL, IValidationService validate)
 {
     this._locationBL  = locationBL;
     this._productBL   = productBL;
     this._inventoryBL = inventoryBL;
     this._orderBL     = orderBL;
     this._validate    = validate;
     branch            = SearchBranch();
 }
 public OrderController(ICustomerBL customerBL, IMapper mapper, IOrderBL orderBL, ILocationBL locationBL, IDrinkBL drinkBL, IInventoryBL inventoryBL)
 {
     _customerBL  = customerBL;
     _mapper      = mapper;
     _orderBL     = orderBL;
     _locationBL  = locationBL;
     _drinkBL     = drinkBL;
     _inventoryBL = inventoryBL;
 }
 public ProductMenu(IOrderBL orderBL, ICustomerBL customerBL, IVerificationService verify, IInventoryBL inventoryBL, ILocationBL locationBL, IProductBL productBL)
 {
     _orderBL     = orderBL;
     _customerBL  = customerBL;
     _verify      = verify;
     _inventoryBL = inventoryBL;
     _locationBL  = locationBL;
     _productBL   = productBL;
 }
Beispiel #6
0
 public OrderMenu(ICustomerBL customerBL, ILocationBL locationBL, IProductBL productBL, IInventoryBL inventoryBL, IOrderBL orderBL, IValidationService validate)
 {
     _customerBL  = customerBL;
     _locationBL  = locationBL;
     _productBL   = productBL;
     _inventoryBL = inventoryBL;
     _orderBL     = orderBL;
     _validate    = validate;
     customer     = SearchCustomer();
 }
 public ManagerMenu(ICustomerBL customerBL, ILocationBL locationBL, IProductBL productBL, IInventoryBL inventoryBL, IOrderBL orderBL, ILineItemBL lineItemBL, IValidationService validate)
 {
     _customerBL  = customerBL;
     _locationBL  = locationBL;
     _productBL   = productBL;
     _inventoryBL = inventoryBL;
     _orderBL     = orderBL;
     _lineItemBL  = lineItemBL;
     _validate    = validate;
 }
        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 MainMenu(ICustomerBL customerBL, ILocationBL locationBL, IOrderBL orderBL, IProductBL productBL, IInventoryBL inventoryBL)
 {
     customerMenu = new CustomerMenu(customerBL, locationBL, orderBL, productBL, inventoryBL);
     _customerBL  = customerBL;
     managerMenu  = new ManagerMenu(customerBL, locationBL, orderBL, productBL, inventoryBL);
 }
Beispiel #10
0
 public InventorySearch(IInventoryBL inventoryBL)
 {
     _inventoryBL = inventoryBL;
 }
Beispiel #11
0
 public ProductSearch(IProductBL productBL, ICartProductsBL cartProductsBL, IInventoryBL inventoryBL)
 {
     _productBL      = productBL;
     _cartProductsBL = cartProductsBL;
     _inventoryBL    = inventoryBL;
 }
Beispiel #12
0
 public InventoryController(IInventoryBL inventoryBL)
 {
     _inventoryBL = inventoryBL;
 }
 public BeerMenu(IInventoryBL inventoryBL, IOrderBL orderBL)
 {
     this._inventoryBL = inventoryBL;
     this._orderBL     = orderBL;
 }
 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);
 }