public ShellViewModel(LoginViewModel loginVM, MenuViewModel menuVM, ViewNavigator viewNawigator) { _loginVM = loginVM; _menuVM = menuVM; _viewNavigator = viewNawigator; _viewNavigator.SetNavigator(Navigate); _viewNavigator.AddDirections(Direction.LogIn, _loginVM); _viewNavigator.AddDirections(Direction.Menu, _menuVM); Navigate(_loginVM); }