public static bool IsAsyncCommandAction(this HttpActionContext controllerContext) { return(controllerContext.FirstAsyncCommandParameter() != null); }