Пример #1
0
        public ActionResult StaticPage(int staticPageID)
        {
            var ops        = new FITlosophiOperations();
            var staticPage = ops.GetPageByID(staticPageID);

            return(View(staticPage));
        }
Пример #2
0
        public ActionResult EditPage(int id)
        {
            var read = new FITlosophiOperations();

            var pageToEdit = read.GetPageByID(id);

            return(View(pageToEdit));
        }
Пример #3
0
        public StaticPage GetPageByID(int PageID)
        {
            var read = new FITlosophiOperations();

            return(read.GetPageByID(PageID));
        }