private IRazorPage GetLayoutPage(ViewContext context, string executingFilePath, string layoutPath) { IRazorPage layoutPage = TchRazorActivator.GetPage(context, layoutPath); return(layoutPage); }
public async Task RenderPartialAsync(string partial) { await TchRazorActivator.GetView(ViewContext, partial).RenderAsync(ViewContext); }