Esempio n. 1
0
 public async Task <List <Food> > GetAllFoodWithOffsetAndLimit(int offset, int limit)
 {
     try
     {
         return(await _foodRepository.GetAllFoodWithOffsetAndLimit(offset, limit));
     }
     catch (Exception err)
     {
         Console.WriteLine(err);
         return(null);
     }
 }