Beispiel #1
0
        public ActionResult ConfigGoogleAnalyticApi()
        {
            var apiSetting = _siteSettingService.GetById(SettingNames.GoogleAnalyticApi);

            if (apiSetting != null)
            {
                return(RedirectToAction("Index", "SiteSettings", new { area = "Admin", id = apiSetting.Id }));
            }

            throw new EzCMSNotFoundException(System.Web.HttpContext.Current.Request.RawUrl);
        }