Example #1
0
 public async Task <IEnumerable <Product> > GetAllAsync(int page, int pageSize)
 {
     try
     {
         return(await _repositoryProduct.GetAllProductsAsync(page, pageSize));
     }
     catch (Exception)
     {
         Notify("Falha ao obter os produtos.");
     }
     return(null);
 }