Exemplo n.º 1
0
 public async Task <HttpResponse <Product[]> > GetByCategoryId(int categoryId)
 {
     return(Ok(await ApiInstance.GetProducts(categoryId)));
 }
Exemplo n.º 2
0
 public override async Task <HttpResponse <Product[]> > GetAsync(string endpointName = null, HttpRequest request = null)
 => Ok(await ApiInstance.GetProducts());