public async Task <IQueryable <T> > WhereAsync(Expression <Func <T, bool> > predicate) { QueriesCount++; return(await Task.Run(() => CurrentWorkSet.Where(predicate))); }
public IQueryable <T> Where(Expression <Func <T, bool> > predicate) { QueriesCount++; return(CurrentWorkSet.Where(predicate)); }