Example #1
0
        public ActionResult ConvertView(DocumentTemplate template)
        {
            var userName = new MainController().GetUserName();

            var newTemplate =
                new HtmlDocumentHandler(userName)
                .ConvertView(DocumentTemplateController.ConvertToBlModel(template));

            return(View(DocumentTemplateController.ConvertToModel(newTemplate)));
        }