public override void OnActionExecuting(ActionExecutingContext filterContext)
        {
            if (filterContext == null)
            {
                throw new ArgumentNullException("filterContext");
            }

            AuthorizeArticleHelper.EnsureIsAuthorized(
                this.ParamName,
                this.accessType,
                filterContext.RequestContext,
                filterContext.ActionParameters);
        }
        public override void OnActionExecuting(HttpActionContext actionContext)
        {
            if (actionContext == null)
            {
                throw new ArgumentNullException("actionContext");
            }

            AuthorizeArticleHelper.EnsureIsAuthorized(
                this.ParamName,
                this.accessType,
                actionContext.RequestContext,
                actionContext.ActionArguments);
        }