Пример #1
0
        private async Task <HttpResponse> HandleDialogCancellation(HttpContext context, DialogCancellation dialogCancellation)
        {
            await _dialogSubmissionHandler.HandleCancel(dialogCancellation).ConfigureAwait(false);

            return(await context.Respond(HttpStatusCode.OK).ConfigureAwait(false));
        }
Пример #2
0
        private async Task <SlackResult> HandleDialogCancellation(DialogCancellation dialogCancellation)
        {
            await _dialogSubmissionHandler.HandleCancel(dialogCancellation).ConfigureAwait(false);

            return(new EmptyResult(HttpStatusCode.OK));
        }