예제 #1
0
        public ActionResult Footer()
        {
            FooterViewModel model = new FooterViewModel();

            model.SiteConfig    = _siteConfigManager.GetSiteConfig();
            model.SocialNetwors = _siteConfigManager.GetSocialNetworkByType("share");

            return(PartialView("~/Views/Shared/_Footer.cshtml", model));
        }
예제 #2
0
        public IActionResult Index()
        {
            var model = _siteConfigManager.GetSiteConfig();

            return(View(model));
        }