Exemplo n.º 1
0
 private void ExecuteLogOutCommand()
 {
     App.MobileService.Logout();
     ApplicationDataManager.RemoveEntry(ApplicationConstants.UserKey);
     _navigationService.Navigate(typeof(LoginPage));
 }
Exemplo n.º 2
0
 private void ExecuteLogOutCommand()
 {
     App.MobileService.Logout();
     ApplicationDataManager.RemoveEntry(ApplicationConstants.UserKey);
     (Application.Current.RootVisual as PhoneApplicationFrame).Navigate(new Uri("/LoginPage.xaml", UriKind.Relative));
 }