public async Task LoginScreen() { _user.LogOffUser(); await ActivateItemAsync(IoC.Get <LoginViewModel>()); NotifyOfPropertyChange(() => IsLoggedIn); }
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); }