public async Task <int> Count(Expression <Func <T, bool> > func) { return(await Task.Run <int>(() => ibaseDal.Count(func))); }