public ActionResult Index(PageModel currentPageModel) { var model = _articleViewModelBuilder.Build(currentPageModel); return(View(model)); }
public async System.Threading.Tasks.Task <ArticleViewModel> BuildAsync(IServiceScope scope, PageModel pageModel) { return(_builder.Build(pageModel)); }