public async Task <int> GetTodayCallsCountAsync(int departmentId) { var date = DateTime.UtcNow.Date; return((await _callsRepository.GetAllCallsByDepartmentIdLoggedOnAsync(departmentId, date)).Count()); }
public async Task <int> GetTodayCallsCountAsync(int departmentId) { var date = DateTime.UtcNow.Date; return((await _callsRepository.GetAllCallsByDepartmentIdLoggedOnAsync(departmentId, date)).Count()); }