private async Task <HttpResponse> HandleDialogCancellation(HttpContext context, DialogCancellation dialogCancellation) { await _dialogSubmissionHandler.HandleCancel(dialogCancellation).ConfigureAwait(false); return(await context.Respond(HttpStatusCode.OK).ConfigureAwait(false)); }
private async Task <SlackResult> HandleDialogCancellation(DialogCancellation dialogCancellation) { await _dialogSubmissionHandler.HandleCancel(dialogCancellation).ConfigureAwait(false); return(new EmptyResult(HttpStatusCode.OK)); }