예제 #1
0
        public ActionResult Index(BlockModel currentBlockModel)
        {
            var model = _builder.Build(currentBlockModel);

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

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