Exemplo n.º 1
0
 public async Task <int> QueryCount(DateTime begin, DateTime end)
 {
     return(await _repository.CountAsync(x => x.BeginTime >= begin && x.BeginTime < end));
 }