public async Task <string> RunCompileTemplate(HelpTemplateViewModel model) { var template = await _template; var html = RazorEngineService.Value.RunCompile(template, template, typeof(HelpTemplateViewModel), model); return(html); }
public async Task <string> RunCompileTemplate(HelpTemplateViewModel model) { var template = await _template; var html = await RazorEngineService.Value.CompileRenderStringAsync("configurationhelp", template, model); return(html); }