Пример #1
0
        public ActionResult AboutUs()
        {
            CMSDomainLogic cMSDomainLogic = new CMSDomainLogic();
            string         pageAlieas     = "about-us";
            var            content        = cMSDomainLogic.GetCmsPageContent(pageAlieas);

            if (content == null)
            {
                return(RedirectTo404());
            }
            content.PageDescription = System.Net.WebUtility.HtmlDecode(content.PageDescription);

            return(View("AboutUS", content));
        }
Пример #2
0
        public ActionResult GetTermsAndConditions()
        {
            CMSDomainLogic cMSDomainLogic = new CMSDomainLogic();
            string         pageAlieas     = "T-C";
            var            content        = cMSDomainLogic.GetCmsPageContent(pageAlieas);

            if (content == null)
            {
                return(RedirectTo404());
            }
            content.PageDescription = System.Net.WebUtility.HtmlDecode(content.PageDescription);

            return(View("TermsConditions", content));
        }