Esempio n. 1
0
        public async Task LoginScreen()
        {
            _user.LogOffUser();
            await ActivateItemAsync(IoC.Get <LoginViewModel>());

            NotifyOfPropertyChange(() => IsLoggedIn);
        }
Esempio n. 2
0
        public async Task LogOut()
        {
            _user.LogOffUser();
            _apiHelper.ResetUserModel();
            await ActivateItemAsync(IoC.Get <LoginViewModel>(), new CancellationToken());

            NotifyOfPropertyChange(() => IsLoggedIn);
        }
 public void LogOut()
 {
     _user.LogOffUser();
     ActivateItem(IoC.Get <LoginViewModel>());
     NotifyOfPropertyChange(() => IsLoggedIn);
 }