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)); }
// [Authorize] public ActionResult About() { var result = _cmsManager.GetPageContentByPageType((int)CMSPageType.AboutUs); return(View(result)); }