private void NavigateToViewMethod(string destination) { switch (destination) { case "SpendingDisplay": CurrentViewModel = new SpendingDisplayViewModel(); break; case "SpendingReport": CurrentViewModel = new SpendingReportViewModel(); break; default: break; } }
public SpendingViewModel() { _currentViewModel = new SpendingDisplayViewModel(); }