public InventoryController(IInventoryRepo repo) { this.repo = repo; }
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); }
// Constructor public CdInventoryController(IInventoryRepo repo) { _repo = repo; }
public InventoryController(IInventoryRepo inventoryRepo) { _inventoryRepo = inventoryRepo; }
public InventoryServices(IInventoryRepo inventRepo) { this.inventRepo = inventRepo; }
public InventoryViewComponent(IInventoryRepo repo) { _repo = repo; }
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); }
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); }
public OperationsController(IInventoryRepo inventoryRepo) { _appDataFolder = HttpContext.Current.Server.MapPath("~/App_Data/"); _connectionContext = new FileSystemConnectionContext(_appDataFolder); _inventoryRepo = inventoryRepo; }
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); }