public async Task <IEnumerable <Schedule> > GetInTimeRangeAsync(DateTime from, DateTime to) { ValidateNotNull(from); ValidateNotNull(to); ValidateDateRange(from, to); return(await _scheduleDao.SelectInTimeRangeAsync(from, to)); }