public void ShowAdministration() { if (_administrationWorkspaceViewModel == null) { _administrationWorkspaceViewModel = IoC.Get <IAdministrationWorkspaceViewModel>(); } ActivateItem(_administrationWorkspaceViewModel); }
private void UserLogined(bool changedUser) { LoginViewVisibility = Visibility.Collapsed; Items.Clear(); ActiveItem = null; _administrationWorkspaceViewModel = null; _employeeInfoViewModel = null; LoginedUser = Sission.LoginedUser; }