Ejemplo n.º 1
0
 public GeneralMenu(IStoreLocationBL StoreLoBL, IBuyerBL buyerBL, IOrderBL orderBL, IManagerBL managerBL)
 {
     this._storeLoBL = StoreLoBL;
     this._buyerBL   = buyerBL;
     this._orderBL   = orderBL;
     this._managerBL = managerBL;
 }
Ejemplo n.º 2
0
 public ManagerLoginMenu(IManagerBL managerBL, ICustomerBL customerBL, ILocationBL locationBL, IProductBL productBL, IInventoryLineItemBL inventoryLineItemsBL)
 {
     _managerBL            = managerBL;
     _customerBL           = customerBL;
     _locationBL           = locationBL;
     _productBL            = productBL;
     _inventoryLineItemsBL = inventoryLineItemsBL;
     _menu = "\n" +
             "\n[0] Sign In" +
             "\n[1] Register as Manager" +
             "\n{2] Get Managers" +
             "\n[Back] Previous Menu" +
             "\n[Exit] Exit App";
 }
Ejemplo n.º 3
0
 public StoreFrontMenu(IManagerBL managerBL, ICustomerBL customerBL, ILocationBL locationBL, IProductBL productBL, IInventoryLineItemBL inventoryLineItemsBL,
                       ICustomerCartBL customerCartBL, ICustomerOrderLineItemBL customerOrderLineItem, ICustomerOrderHistoryBL customerOrderHistory)
 {
     _managerBL             = managerBL;
     _customerBL            = customerBL;
     _locationBL            = locationBL;
     _productBL             = productBL;
     _inventoryLineItemsBL  = inventoryLineItemsBL;
     _customerCartBL        = customerCartBL;
     _customerOrderLineItem = customerOrderLineItem;
     _customerOrderHistory  = customerOrderHistory;
     _menu = "\nWelcome to my Store App! \nAre you a customer or manager?" +
             "\n[0] Customer" +
             "\n[1] Manager" +
             "\n[Exit] Exit";
 }
Ejemplo n.º 4
0
 public ManagerMenu(Manager manager, IManagerBL managerBL, ICustomerBL customerBL, ILocationBL locationBL, IProductBL productBL, IInventoryLineItemBL inventoryLineItemsBL)
 {
     _user                 = manager;
     _managerBL            = managerBL;
     _customerBL           = customerBL;
     _locationBL           = locationBL;
     _productBL            = productBL;
     _inventoryLineItemsBL = inventoryLineItemsBL;
     _menu                 = "\n" +
                             "\n[0] Find Customer" +
                             "\n[1] View Customers" +
                             "\n[2] View Locations" +
                             "\n[3] Add Locations" +
                             "\n[4] View Products" +
                             "\n[5] Add Product" +
                             "\n[6] Choose Location" +
                             "\n[Back] Previous Menu" +
                             "\n[Exit] Exit App";
 }
Ejemplo n.º 5
0
 public ManageLocationMenu(Manager user, IManagerBL managerBL, Location location, ILocationBL locationBL, IProductBL productBL, IInventoryLineItemBL inventoryLineItemsBL)
 {
     _locationBL           = locationBL;
     _location             = location;
     _user                 = user;
     _managerBL            = managerBL;
     _productBL            = productBL;
     _inventoryLineItemsBL = inventoryLineItemsBL;
     _menu                 = "\n" +
                             "\n[0] Add All Products to Inventory" +
                             "\n[1] Add a Product to Inventory" +
                             "\n[2] Replenish Item Quantity" +
                             "\n[3] View Inventory" +
                             "\n[4] View Order History" +
                             "\n[5] " +
                             "\n[6] " +
                             "\n[Back] Previous Menu" +
                             "\n[Exit] Exit App";
 }
Ejemplo n.º 6
0
 public ManagerController(IManagerBL managerBL, IMapper mapper)
 {
     _managerBL = managerBL;
     _mapper    = mapper;
 }
Ejemplo n.º 7
0
 public ManagerMenu(IStoreLocationBL StoreLoBL, IOrderBL OBL, IManagerBL MBL)
 {
     this._storeLoBL = StoreLoBL;
     this._orBL      = OBL;
     this._mBL       = MBL;
 }
Ejemplo n.º 8
0
 public BookController(IManagerBL manager)
 {
     this.manager = manager;
 }