コード例 #1
0
        private async void BtnEditUser_Click(object sender, RoutedEventArgs e)
        {
            string Message = string.Empty;

            //editUser.UserEmail = authorizationModel.UserEmail;
            usersViewModel.EditUser(ref Message, ref editUser);

            if (Message == "")
            {
                Message = "El usuario se modificó de manera exitosa";
                var administrationResultDialog = new AdministrationResultDialog(Message, "");
                await administrationResultDialog.ShowAsync();

                Frame.Navigate(typeof(HomePage), null, new DrillInNavigationTransitionInfo());
            }
            else
            {
                var administrationResultDialog = new AdministrationResultDialog(Message, "");
                await administrationResultDialog.ShowAsync();
            }
        }