Inheritance: System.Web.Mvc.PartialViewResult
        public static GriddlySettings GetSettings(ControllerContext context, string viewName)
        {
            try
            {
                GriddlySettingsResult settingsResult = new GriddlySettingsResult()
                {
                    ViewName = viewName,
                    ViewData = context.Controller.ViewData
                };

                ControllerContext settingsContext = new ControllerContext(new RequestContext(new EmptyHttpContext(), context.RouteData), context.Controller);

                settingsResult.ExecuteResult(settingsContext);

                return settingsResult.Settings;
            }
            catch (HttpException)
            {
                throw;
            }
        }
        public static GriddlySettings GetSettings(ControllerContext context, string viewName)
        {
            try
            {
                GriddlySettingsResult settingsResult = new GriddlySettingsResult()
                {
                    ViewName = viewName,
                    ViewData = context.Controller.ViewData
                };

                ControllerContext settingsContext = new ControllerContext(new RequestContext(new EmptyHttpContext(), context.RouteData), context.Controller);

                settingsResult.ExecuteResult(settingsContext);

                return(settingsResult.Settings);
            }
            catch (HttpException)
            {
                throw;
            }
        }