public IRazorTemplate ExecuteTemplate <T>(T model) { return(RazorFormat.ExecuteTemplate(model, this.PageName, this.Template)); }
public string RenderToString <T>(T model) { var template = RazorFormat.ExecuteTemplate(model, this.PageName, this.Template); return(template.Result); }