private void SetRecordsInternal(IEnumerable <TimeRecordBase> records)
 {
     foreach (var val in Enum.GetValues(typeof(DayOfWeek)))
     {
         var line = new TimelineModel((DayOfWeek)val);
         foreach (var record in records.Where(x => x.StartTime.DayOfWeek == (DayOfWeek)val))
         {
             line.Records.Add(record);
         }
         _days.Add(line);
     }
 }
 private void SetRecordsInternal(IEnumerable<TimeRecordBase> records)
 {
     foreach (var val in Enum.GetValues(typeof(DayOfWeek)))
     {
         var line = new TimelineModel((DayOfWeek)val);
         foreach (var record in records.Where(x => x.StartTime.DayOfWeek == (DayOfWeek)val))
         {
             line.Records.Add(record);
         }
         _days.Add(line);
     }
 }