Пример #1
0
 public InventoryController(IInventoryRepo repo)
 {
     this.repo = repo;
 }
Пример #2
0
 public InventoryController(IInventoryRepo inventoryRepo)
 {
     _connectionContext = new FileSystemConnectionContext(HttpContext.Current.Server.MapPath("~/App_Data/"));
     _inventoryRepo     = inventoryRepo;
 }
 public ProductDetails1(Customer customer, lacrosseContext context, ICustomerRepo customerRepo, IInventoryRepo inventoryRepo, IProductRepo productRepo)
 {
     this.customer          = customer;
     this.context           = context;
     this.customerRepo      = customerRepo;
     this.inventoryRepo     = inventoryRepo;
     this.productRepo       = productRepo;
     this.customerServices  = new CustomerServices(customerRepo);
     this.inventoryServices = new InventoryServices(inventoryRepo);
     this.productServices   = new ProductServices(productRepo);
 }
Пример #4
0
 // Constructor
 public CdInventoryController(IInventoryRepo repo)
 {
     _repo = repo;
 }
 public InventoryController(IInventoryRepo inventoryRepo)
 {
     _inventoryRepo = inventoryRepo;
 }
Пример #6
0
 public InventoryServices(IInventoryRepo inventRepo)
 {
     this.inventRepo = inventRepo;
 }
 public InventoryViewComponent(IInventoryRepo repo)
 {
     _repo = repo;
 }
Пример #8
0
 public CheckoutMenu(Customer customer, lacrosseContext context, ICustomerRepo customerRepo, ILocationRepo locationRepo, IInventoryRepo inventoryRepo, IProductRepo productRepo, ICartRepo cartRepo, ICartItemsRepo cartItemsRepo, IOrderRepo orderRepo, ILineItemRepo lineItemRepo)
 {
     this.customer          = customer;
     this.customerRepo      = customerRepo;
     this.inventoryRepo     = inventoryRepo;
     this.locationRepo      = locationRepo;
     this.productRepo       = productRepo;
     this.orderRepo         = orderRepo;
     this.cartRepo          = cartRepo;
     this.cartItemsRepo     = cartItemsRepo;
     this.lineItemRepo      = lineItemRepo;
     this.customerServices  = new CustomerServices(customerRepo);
     this.locationServices  = new LocationServices(locationRepo);
     this.inventoryServices = new InventoryServices(inventoryRepo);
     this.productServices   = new ProductServices(productRepo);
     this.cartServices      = new CartServices(cartRepo);
     this.cartItemServices  = new CartItemServices(cartItemsRepo);
     this.orderServices     = new OrderServices(orderRepo);
     this.lineItemServices  = new lineItemServices(lineItemRepo);
 }
Пример #9
0
 public InventoryBL(IInventoryRepo inventoryRepo)
 {
     _inventoryRepo = inventoryRepo;
 }
 public OrderHistoryMenu(Customer customer, lacrosseContext context, ICustomerRepo customerRepo, IInventoryRepo inventoryRepo, IProductRepo productRepo, IOrderRepo orderRepo, ILocationRepo locationRepo)
 {
     this.customer         = customer;
     this.customerRepo     = customerRepo;
     this.productRepo      = productRepo;
     this.orderRepo        = orderRepo;
     this.inventoryRepo    = inventoryRepo;
     this.locationRepo     = locationRepo;
     this.customerServices = new CustomerServices(customerRepo);
     this.locationService  = new LocationServices(locationRepo);
     this.productServices  = new ProductServices(productRepo);
     this.orderService     = new OrderServices(orderRepo);
     this.inventoryService = new InventoryServices(inventoryRepo);
 }
Пример #11
0
 public OperationsController(IInventoryRepo inventoryRepo)
 {
     _appDataFolder     = HttpContext.Current.Server.MapPath("~/App_Data/");
     _connectionContext = new FileSystemConnectionContext(_appDataFolder);
     _inventoryRepo     = inventoryRepo;
 }
Пример #12
0
 public ReplenishInventory(Manager manager, lacrosseContext context, ILocationRepo locationRepo, IInventoryRepo inventoryRepo, IProductRepo productRepo)
 {
     this.manager           = manager;
     this.context           = context;
     this.locationRepo      = locationRepo;
     this.inventoryRepo     = inventoryRepo;
     this.productRepo       = productRepo;
     this.locationServices  = new LocationServices(locationRepo);
     this.inventoryServices = new InventoryServices(inventoryRepo);
     this.productServices   = new ProductServices(productRepo);
 }