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