/// <summary>
        /// Get controller attributes
        /// </summary>
        /// <param name="controllerContext"></param>
        /// <param name="actionDescriptor"></param>
        /// <returns></returns>
        protected override IEnumerable <FilterAttribute> GetControllerAttributes(ControllerContext controllerContext, ActionDescriptor actionDescriptor)
        {
            IEnumerable <FilterAttribute> attributes = base.GetControllerAttributes(controllerContext, actionDescriptor).ToList();

            foreach (var attribute in attributes)
            {
                container.Inject(attribute);
            }

            return(attributes);
        }