Esempio n. 1
0
        public ActionResult EditAbout(StaticPage page, string id)
        {
            page.StaticPageId = int.Parse(id);
            StaticPgManager manager = new StaticPgManager();

            manager.Edit(page);
            return(RedirectToAction("About", "Home"));
        }
Esempio n. 2
0
        public ActionResult EditDisclaimer(StaticPage page, string disclaimerId)
        {
            page.StaticPageId = int.Parse(disclaimerId);
            StaticPgManager manager = new StaticPgManager();

            manager.Edit(page);
            return(RedirectToAction("Disclaimer", "Home"));
        }