Exemplo n.º 1
0
        public ActionResult DisplayStaticPage(int id)
        {
            var ops = new BlogPostOperations();
            var vm = new HomeIndexViewModel();
               var newStaticPage = ops.GetStaticPageByID(id);

            return View(newStaticPage);
        }
Exemplo n.º 2
0
        public ActionResult EditSingleStaticPage(int id)
        {
            var ops = new BlogPostOperations();
               StaticPage newStaticPage = ops.GetStaticPageByID(id);

            return View("EditSingleStaticPage", newStaticPage);
        }