public IEnumerable <Product> GetByCategoryId(int id) { return(_context.GetByCategoryId(id)); }
public IReadOnlyCollection <Product> GetAllByCategoryId(int id) { return(_productContext.GetByCategoryId(id)); }
public IEnumerable <Product> GetByCategoryId(int id) { return(_context.GetByCategoryId(id)); }
public IReadOnlyCollection <Product> GetAllByCategoryId(int id) { return(_productContext.GetByCategoryId(id)); }