示例#1
0
 private async Task RedirectToPage(LoginResponseModel loginResponseModel)
 {
     if (loginResponseModel.primeraSesion.Equals("0"))
     {
         await _popUpService.ShowChangePasswordAsync(this.User, this.Password);
     }
     else
     {
         _navigationService.SetMainPage(NavigationService.MainPageName.ChoiceCuc);
     }
 }
示例#2
0
        async Task OnChangePasswordAsync()
        {
            if (this.IsEnabled == false)
            {
                return;
            }

            this.IsEnabled = false;
            this.IsRunning = true;

            await _popUpService.ShowChangePasswordAsync(_userName);

            this.IsEnabled = true;
            this.IsRunning = false;
        }