public ActionResult ConvertView(DocumentTemplate template)
        {
            _documentRepositoryHandler =
                new HtmlDocumentHandler(GetUserName());
            DocumentTemplate newTemplate = null;
            if (template.Text != null)
            {
                newTemplate = ConvertToModel
                    (_documentRepositoryHandler.ConvertView(ConvertToBlModel(template)));
            }

            return View("Preview", newTemplate);
        }