public void OnToggleViewCommand() { if (_CurrentViewModel.Equals(_CustomerListViewModel)) { CurrentViewModel = _CustomerViewModel; } else { CurrentViewModel = _CustomerListViewModel; } }