Esempio n. 1
0
        async void Delete_Clicked(object sender, EventArgs e)
        {
            try
            {
                await PeopleViewModel.DeletePersonAsync(viewModel.Person);
            }
            catch (Exception ex)
            {
                await DisplayAlert("Error!", ex.Message, "OK");

                return;
            }

            await Navigation.PopAsync();
        }