Ejemplo n.º 1
0
        public ActionResult Index(BlockModel currentBlockModel)
        {
            var model = _builder.Build(currentBlockModel);

            return(PartialView("~/Views/Block/Author.cshtml", model));
        }
Ejemplo n.º 2
0
        public IViewComponentResult Invoke(BlockModel currentBlockModel)
        {
            var model = _builder.Build(currentBlockModel);

            return(View("~/Views/Blocks/Author.cshtml", model));
        }