Example #1
0
        private async void cancelBtn_Clicked(object sender, EventArgs e)
        {
            var date = current.AppointmentTime;

            await AppointmentLogic.CancelAppointmentAsync(current);

            await DisplayAlert("Appointment", string.Format("You cancelled your appointment on {0} at {1}", date.ToLongDateString(), date.ToShortTimeString()), "Okay");

            OnAppearing();
        }