Exemple #1
0
 protected override void ChangeViewMethod(object parameter)
 {
     if (parameter.ToString() == "SalaryRequest")
     {
         SelectedViewModel = new HandleSalaryRequestViewModel();
     }
 }
Exemple #2
0
 public FinanceViewModel(Employee _employee)
 {
     Name              = "Finance Team";
     CurrentEmployee   = _employee;
     SelectedViewModel = new HandleSalaryRequestViewModel();
 }