// GET: /<controller>/ public IEnumerable <Product> GetAllByCategory(int categoryId) { return(ProductRepo.GetAllByCategory(categoryId)); }