public ActionResult Index(BlockModel currentBlockModel) { var model = _builder.Build(currentBlockModel); return(PartialView("~/Views/Block/Author.cshtml", model)); }
public IViewComponentResult Invoke(BlockModel currentBlockModel) { var model = _builder.Build(currentBlockModel); return(View("~/Views/Blocks/Author.cshtml", model)); }