public InventoryRepository(ShoppinDBContext shoppinDBContext) { _shoppinDBContext = shoppinDBContext; }
public ProductRepository(ShoppinDBContext shoppinDBContext) { _shoppinDBContext = shoppinDBContext; }
public ProductsController(ShoppinDBContext context) { repository = new ProductRepository(context); }
public InventoryController(ShoppinDBContext context) { repository = new InventoryRepository(context); }