Esempio n. 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));
        }
Esempio n. 2
0
        public IActionResult Index()
        {
            var model = _siteConfigManager.GetSiteConfig();

            return(View(model));
        }