public ViewEngineResult FindView(ControllerContext controllerContext, string viewName, string masterName, bool useCache)
        {
            var controllerName = (string)controllerContext.RouteData.Values["controller"];
            string controllerFolder = controllerName;

            Template viewTemplate = ResolveViewTemplate(controllerFolder, viewName);
            Template masterTemplate = ResolveMasterTemplate(masterName);

            var view = new NVelocityView(viewTemplate, masterTemplate);

            return new ViewEngineResult(view, this);
        }
        public ViewEngineResult FindView(ControllerContext controllerContext, string viewName, string masterName, bool useCache)
        {
            var    controllerName   = (string)controllerContext.RouteData.Values["controller"];
            string controllerFolder = controllerName;

            Template viewTemplate   = ResolveViewTemplate(controllerFolder, viewName);
            Template masterTemplate = ResolveMasterTemplate(masterName);

            var view = new NVelocityView(viewTemplate, masterTemplate);

            return(new ViewEngineResult(view, this));
        }