Exemple #1
0
 public PatientVM()
 {
     PatientM = new PatientModel();
     Command  = new PatientCommand(this);
     try
     {
         PatientIds = new ObservableCollection <string>(PatientM.GetAllPatientsId());
     }
     catch (Exception e)
     {
         (App.Current as App).navigation.MainWindows.comments.Text = e.Message.ToString();
     }
 }