public void EditTimes(ViewItemSchedule[] schedules)
 {
     MainScreenViewModel.ShowPopup(AddClassTimeViewModel.CreateForEdit(MainScreenViewModel, new AddClassTimeViewModel.EditParameter()
     {
         GroupedSchedules = schedules
     }));
 }
 public void AddTime(ViewItemClass c)
 {
     MainScreenViewModel.ShowPopup(AddClassTimeViewModel.CreateForAdd(MainScreenViewModel, new AddClassTimeViewModel.AddParameter()
     {
         Class = c
     }));
 }