public void Switch(object sender, SwitchViewEventArgs e)
 {
     CurrentView = _viewModels.Single(x => x.GetType() == e.ViewModelType);
 }
 public void Switch(object sender, SwitchViewEventArgs e)
 {
     CurrentView = _viewModels.Single(x => x.GetType() == e.ViewModelType);
 }