protected Func <ActionContext, Task> WrapFilterAsync(Func <ActionContext, Task> handler, IFilter filter) { return(async(ActionContext ctx) => { await filter.AcceptAsync(handler, ctx); }); }