public async Task <long> GetLogsCountAsync(DateTime starDateTime, DateTime endDateTime) { return(await TableNoTracking.AsQueryable().LongCountAsync(o => starDateTime <= o.Created && o.Created <= endDateTime)); }
public long GetLogsCount(DateTime starDateTime, DateTime endDateTime) { return(TableNoTracking.AsQueryable().LongCount(o => starDateTime <= o.Created && o.Created <= endDateTime)); }