Exemplo n.º 1
0
 public async Task <int> CountWhere(Expression <Func <T, bool> > predicate) =>
 await DBSet.CountAsync(predicate);
Exemplo n.º 2
0
 public async Task <int> CountAll() => await DBSet.CountAsync();