Beispiel #1
0
        private async Task CancelAppointmentComplete(IDialogContext context, IAwaitable <string> selection)
        {
            var choice = await selection;
            await RestApiClient.CancelAppointmentAsync(_appointment.Id, choice);

            await context.PostAsync("Thank you. Your appointment has been cancelled. Have a nice day!");

            context.Wait(MessageReceived);
        }