示例#1
0
文件: Login.cs 项目: xdumaine/Avocado
 public void AttemptLogin()
 {
     AuthClient = new AuthClient();
     AuthClient.Email = Email;
     AuthClient.Password = Password;
     if (AuthClient.AttemptLogin())
     {
         var couple = AuthClient.GetUsers();
         if (couple.CurrentUser != null)
         {
             NavigationService n = new NavigationService();
             n.NavigateTo(typeof(Avocado.Views.Activities), AuthClient);
         }
     }
 }