예제 #1
0
 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;
 }
예제 #4
0
 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;
 }
예제 #6
0
 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();
 }
예제 #8
0
 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);
        }
예제 #11
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, 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);
        }
예제 #13
0
 public OrderUI(IOrderBL _IOrderBL, IShoppingCartUI _IShoppingCartUI)
 {
     this._IOrderBL        = _IOrderBL;
     this._IShoppingCartUI = _IShoppingCartUI;
 }
예제 #14
0
 public OrderController(IOrderBL orderBuiseness)
 {
     this.orderBuiseness = orderBuiseness;
 }
예제 #15
0
 public BeerMenu(IInventoryBL inventoryBL, IOrderBL orderBL)
 {
     this._inventoryBL = inventoryBL;
     this._orderBL     = orderBL;
 }
 public CustSearch(ICustomerBL customerBL, IOrderBL orderBL)
 {
     _customerBL = customerBL;
     _orderBL    = orderBL;
 }
예제 #17
0
 public OrderController(IOrderBL iOBL)
 {
     this.iOrderBL = iOBL;
 }
 public OrderController(IOrderBL orderBL)
 {
     this.orderBL = orderBL;
 }
예제 #19
0
 public OrderSearch(IOrderBL orderBL, IOrderItemsBL orderItemsBL, IProductBL productBL)
 {
     _orderBL      = orderBL;
     _orderItemsBL = orderItemsBL;
     _productBL    = productBL;
 }
 public OrderController(ICustomerBL custBL, IOrderBL orderBL)
 {
     _custBL  = custBL;
     _orderBL = orderBL;
 }
예제 #21
0
 public ManagerMenu(IStoreLocationBL StoreLoBL, IOrderBL OBL, IManagerBL MBL)
 {
     this._storeLoBL = StoreLoBL;
     this._orBL      = OBL;
     this._mBL       = MBL;
 }
예제 #22
0
 public OrderController(IOrderBL _orderBL)
 {
     orderBL = _orderBL;
 }
예제 #23
0
 public OrdersController(IOrderBL iOrderBL)
 {
     _iOrderBL = iOrderBL;
 }
예제 #24
0
 /// <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;
 }
예제 #25
0
 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);
 }
예제 #26
0
 public OrderApiController(IOrderBL order)
 {
     orderBL = order;
 }
예제 #27
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);
 }