public ActionResult Footer() { var viewModel = _footerViewModelBuilder.Build(); return(PartialView("Framework/Footer", viewModel)); }
public IViewComponentResult Invoke() { var viewModel = _footerViewModelBuilder.Build(); return(View("~/Views/Framework/Footer.cshtml", viewModel)); }