Beispiel #1
0
        public ActionResult GetCMSForApp(int PageType)
        {
            var result = new EditCMSPageModel();

            if (PageType == (int)CMSPageType.AboutUs)
            {
                result = _cmsManager.GetPageContentByPageType((int)CMSPageType.AboutUs);
            }
            if (PageType == (int)CMSPageType.TermsAndConditions)
            {
                result = _cmsManager.GetPageContentByPageType((int)CMSPageType.TermsAndConditions);
            }
            if (PageType == (int)CMSPageType.PrivacyPolicy)
            {
                result = _cmsManager.GetPageContentByPageType((int)CMSPageType.PrivacyPolicy);
            }

            return(View(result));
        }
Beispiel #2
0
        //  [Authorize]
        public ActionResult About()
        {
            var result = _cmsManager.GetPageContentByPageType((int)CMSPageType.AboutUs);

            return(View(result));
        }