public ActionResult Footer() { FooterViewModel model = new FooterViewModel(); model.SiteConfig = _siteConfigManager.GetSiteConfig(); model.SocialNetwors = _siteConfigManager.GetSocialNetworkByType("share"); return(PartialView("~/Views/Shared/_Footer.cshtml", model)); }
public IActionResult Index() { var model = _siteConfigManager.GetSiteConfig(); return(View(model)); }