Esempio n. 1
0
 public async Task <int> CountByConditionAsync(Expression <Func <TEntity, bool> > func)
 {
     try
     {
         return(await _dataService.CountByCondition(func));
     }
     catch (Exception ex)
     {
         LogOrThrow(ex);
     }
     return(-1);
 }