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