Пример #1
0
 void SelectAppointments()
 {
     SelectedAppointments.Clear();
     foreach (IHP_HARMONOGRAM_DZIENNY modelApt in SelectedModelAppointments)
     {
         Appointment apt = Scheduler.Storage.AppointmentStorage.GetAppointmentById(modelApt.ID_IHP_HARMONOGRAM_DZIENNY);
         if (apt != null)
         {
             SelectedAppointments.Add(apt);
         }
     }
 }
 void SelectAppointments()
 {
     SelectedAppointments.Clear();
     foreach (ModelAppointment modelApt in SelectedModelAppointments)
     {
         Appointment apt = Scheduler.Storage.AppointmentStorage.GetAppointmentById(modelApt.Id);
         if (apt != null)
         {
             SelectedAppointments.Add(apt);
         }
     }
 }