public GeneralMenu(IStoreLocationBL StoreLoBL, IBuyerBL buyerBL, IOrderBL orderBL, IManagerBL managerBL) { this._storeLoBL = StoreLoBL; this._buyerBL = buyerBL; this._orderBL = orderBL; this._managerBL = managerBL; }
public OrderController() { packageBL = new PackageBL(); itineraryBL = new ItineraryBL(); orderBL = new OrderBL(); userBL = new AccountBL(); //var UserId = System.Web.HttpContext.Current.User.Identity.GetUserId(); }
// 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 ManagerMenu(ICustomerBL customerBL, ILocationBL locationBL, IOrderBL orderBL, IProductBL productBL, IInventoryBL inventoryBL) { _customerBL = customerBL; _locationBL = locationBL; _orderBL = orderBL; _productBL = productBL; _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; }
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 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 Menu(ICustomerBL customerBL, ILocationBL locationBL, IProductBL productBL, IItemBL itemBL, IOrderBL orderBL, IProductOrderBL productOrderBL) { _customerBL = customerBL; _locationBL = locationBL; _productBL = productBL; _itemBL = itemBL; _orderBL = orderBL; _productOrderBL = productOrderBL; }
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; }
static DependencyResolver() { userDAO = new UserDAO(); orderDAO = new OrderDAO(); productDAO = new ProductDAO(); userBL = new UserBL(userDAO); orderBL = new OrderBL(orderDAO); productBL = new ProductBL(productDAO); }
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, 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 OrderUI(IOrderBL _IOrderBL, IShoppingCartUI _IShoppingCartUI) { this._IOrderBL = _IOrderBL; this._IShoppingCartUI = _IShoppingCartUI; }
public OrderController(IOrderBL orderBuiseness) { this.orderBuiseness = orderBuiseness; }
public BeerMenu(IInventoryBL inventoryBL, IOrderBL orderBL) { this._inventoryBL = inventoryBL; this._orderBL = orderBL; }
public CustSearch(ICustomerBL customerBL, IOrderBL orderBL) { _customerBL = customerBL; _orderBL = orderBL; }
public OrderController(IOrderBL iOBL) { this.iOrderBL = iOBL; }
public OrderController(IOrderBL orderBL) { this.orderBL = orderBL; }
public OrderSearch(IOrderBL orderBL, IOrderItemsBL orderItemsBL, IProductBL productBL) { _orderBL = orderBL; _orderItemsBL = orderItemsBL; _productBL = productBL; }
public OrderController(ICustomerBL custBL, IOrderBL orderBL) { _custBL = custBL; _orderBL = orderBL; }
public ManagerMenu(IStoreLocationBL StoreLoBL, IOrderBL OBL, IManagerBL MBL) { this._storeLoBL = StoreLoBL; this._orBL = OBL; this._mBL = MBL; }
public OrderController(IOrderBL _orderBL) { orderBL = _orderBL; }
public OrdersController(IOrderBL iOrderBL) { _iOrderBL = iOrderBL; }
/// <summary> /// Menu for the customers /// </summary> /// <param name="StoreLoBL">StoreBL to be enacted upon</param> /// <param name="BuyerBL">Buyer BL for buyer based queries</param> /// <param name="OBL">Order BL for order based queries</param> public CustomerMenu(IStoreLocationBL StoreLoBL, IBuyerBL BuyerBL, IOrderBL OBL) { this._storeLoBL = StoreLoBL; this._buyerBL = BuyerBL; this._orBL = OBL; }
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); }
public OrderApiController(IOrderBL order) { orderBL = order; }
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); }