public ActionResult Index(PageModel currentPageModel)
        {
            var model = _articleViewModelBuilder.Build(currentPageModel);

            return(View(model));
        }
示例#2
0
 public async System.Threading.Tasks.Task <ArticleViewModel> BuildAsync(IServiceScope scope, PageModel pageModel)
 {
     return(_builder.Build(pageModel));
 }