Ejemplo n.º 1
0
        private ActionResult GetView(string itemUri, string templateUri, string path)
        {
            using (new PreviewServer())
            {
                DebugEngine engine = new DebugEngine();
                string      output = engine.Execute(itemUri, templateUri);
                //now Engine and Template instances are created

                return(View(path));
            }
        }