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