Пример #1
0
        public string GetTemplateHtml(TemplateInfo templateInfo)
        {
            var directoryPath = GetTemplatesDirectoryPath();
            var htmlPath      = PathUtils.Combine(directoryPath, templateInfo.Name, templateInfo.Main);

            return(_pathManager.GetContentByFilePath(htmlPath));
        }