public ManagerInventoryMenu(models.Manager manager, IManagerRepo managerRepo, IMessagingService service)
        {
            this.manager = manager;
            this.service = service;

            this.managerService   = new ManagerService(managerRepo);
            this.locationService  = new LocationService((ILocationRepo)managerRepo);
            this.inventoryService = new InventoryService((IInventoryRepo)managerRepo);
            this.orderService     = new OrderService((IOrderRepo)managerRepo);
            this.productService   = new ProductService((IProductRepo)managerRepo);
        }
Example #2
0
 public LaunchMenu(lacrosseContext context, ICustomerRepo custRepo, IManagerRepo managerRepo, ILocationRepo locRepo, ICartRepo cartRepo)
 {
     this.context          = context;
     this.custRepo         = custRepo;
     this.locRepo          = locRepo;
     this.cartRepo         = cartRepo;
     this.managerRepo      = managerRepo;
     this.customerServices = new CustomerServices(custRepo);
     this.locationServices = new LocationServices(locRepo);
     this.cartServices     = new CartServices(cartRepo);
     this.managerServices  = new ManagerServices(managerRepo);
 }
 public DetailsAc_Returns_Bad_ReRequestManagersController(IManagerRepo repo)
 {
     _repo = repo;
 }
 public ManagerService(IManagerRepo repo)
 {
     this.repo = repo;
 }
 public ManagerServices(IManagerRepo managerRepo)
 {
     this.managerRepo = managerRepo;
 }
Example #6
0
 public ManagerMenu(IManagerRepo repo, IMessagingService service)
 {
     this.manager        = new models.Manager();
     this.service        = service;
     this.managerService = new ManagerService(repo);
 }