public ViewTemplateManagerPresenter(IViewTemplateManager view, IApplicationController appController) { _view = view; _appController = appController; _view.Presenter = this; }
public static Task <IHtmlContent> RenderTemplateAsync(this IViewTemplateManager templateManager, string templateName) { return(templateManager.RenderTemplateAsync(templateName, null)); }