private void SetTimeSlot(TimeSlot timeSlot)
 {
     StartTime = timeSlot.Start.TimeOfDay;
     EndTime = timeSlot.End.TimeOfDay;
 }
        private void SetTimeSlot(TimeSlot timeSlot)
        {
            StartTime = timeSlot.Start;
            EndTime = timeSlot.End;

            OnPropertyChanged(() => StartTime);
            OnPropertyChanged(() => EndTime);
        }