Exemplo n.º 1
0
        public override async Task OnActionExecutingAsync(HttpActionContext actionContext, CancellationToken cancellationToken)
        {
            if (actionContext.IsAsyncCommandAction())
            {
                await OnSetupCommandContextsAsync();
            }

            await base.OnActionExecutingAsync(actionContext, cancellationToken);
        }