/// <summary> /// Constructeur /// </summary> public PatientManagementViewModel() { // Set-up commands CreatePatientCommand = new RelayCommand(param => CreatePatient(), param => true); AllPatientCommand = new RelayCommand(param => AllPatient(), param => true); // Loading default viewmodel CurrentViewModel = new AllPatientViewModel(); }
/// <summary> /// liste patients /// </summary> private void AllPatient() { CurrentViewModel = new AllPatientViewModel(); }