public DiscountedProductsApiController(GroceryContext context, IOnShelfConverter onShelfConverter) { _context = context; _onShelfConverter = onShelfConverter; _products = GetProducts(); }
public ProductsApiController(GroceryContext context, IOnShelfConverter onShelfConverter) { _context = context; _onShelfConverter = onShelfConverter; }