private async void BtnChangePassword_Click(object sender, RoutedEventArgs e) { string Message = ""; if (TxtNewPassword.Password == TxtConfirmNewPassword.Password) { usersModel.UserEmail = authorizationModel.UserEmail; usersViewModel.ChangeUserPassword(ref Message, ref usersModel); if (Message == "") { Message = "La contraseña se cambio exitosamente"; var administrationResultDialog = new AdministrationResultDialog(Message, ""); await administrationResultDialog.ShowAsync(); Frame.Navigate(typeof(HomePage), null, new DrillInNavigationTransitionInfo()); } else { var administrationResultDialog = new AdministrationResultDialog(Message, ""); await administrationResultDialog.ShowAsync(); } } else { Message = "Por favor verifiquen que la contraseña y su verificación coincidan"; var administrationResultDialog = new AdministrationResultDialog(Message, ""); await administrationResultDialog.ShowAsync(); } }