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

            return(View(model));
        }