Пример #1
0
 public void GoToInstitutionExecute()
 {
     try
     {
         InstitutionView main = new InstitutionView(user);
         main.Show();
         administratorView.Close();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }
Пример #2
0
 public InstitutionViewModel(ClinicUser user, InstitutionView institutionViewOpen)
 {
     this.user         = user;
     institutionView   = institutionViewOpen;
     ListOFInstitution = new ObservableCollection <Institution>(service.GetAllInstitution());
 }