public ActionResult Index(BlockModel currentBlockModel)
        {
            var model = _builder.Build(currentBlockModel);

            return(PartialView("~/Views/Block/Slider.cshtml", model));
        }
 public async Task <SliderBlockViewModel> BuildAsync(IServiceScope scope, BlockModel model)
 {
     return(_sliderBlockViewModelBuilder.Build(model));
 }
        public IViewComponentResult Invoke(BlockModel currentBlockModel)
        {
            var model = _builder.Build(currentBlockModel);

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