Ejemplo n.º 1
0
        private async Task <HttpResponse> HandleBlockActions(HttpContext context, BlockActionRequest blockActionRequest)
        {
            await _slackBlockActions.Handle(blockActionRequest).ConfigureAwait(false);

            return(await context.Respond(HttpStatusCode.OK).ConfigureAwait(false));
        }
Ejemplo n.º 2
0
        private async Task <SlackResponse> HandleBlockActions(BlockActionRequest blockActionRequest)
        {
            await _slackBlockActions.Handle(blockActionRequest).ConfigureAwait(false);

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