private void ExecuteShowCreateAppointmentMenu()
 {
     if (CurrentViewModel == AppointmentCreateViewModel)
     {
         return;
     }
     AppointmentCreateViewModel.Initialize();
     CurrentViewModel = AppointmentCreateViewModel;
 }
        public DoctorMenuViewModel(AppointmentScheduleViewModel appointmentScheduleViewModel, AppointmentCreateViewModel appointmentCreateViewModel,
                                   DoctorReportMenuViewModel doctorReportMenuViewModel, IDoctorService doctorService)
        {
            MessengerInstance.Register <CurrentUser>(this, async message =>
            {
                var foundDoctor = await doctorService.Get(message.User.ID);
                appointmentScheduleViewModel.Doctor = foundDoctor;
                appointmentCreateViewModel.Doctor   = foundDoctor;
                doctorReportMenuViewModel.Doctor    = foundDoctor;

                AppointmentScheduleViewModel = appointmentScheduleViewModel;
                AppointmentCreateViewModel   = appointmentCreateViewModel;
                DoctorReportMenuViewModel    = doctorReportMenuViewModel;
                ExecuteShowAppointmentSchedule();
            });
            ShowAppointmentSchedule   = new RelayCommand(ExecuteShowAppointmentSchedule);
            ShowCreateAppointmentMenu = new RelayCommand(ExecuteShowCreateAppointmentMenu);
            ShowReportsMenu           = new RelayCommand(ExecuteShowReportsMenu);
        }