Exemple #1
0
        public ActionResult Create(DBPageModel page)
        {
            IDBConnector db = DBConnectorFactory.GetDBConnector();

            db.InsertPage(page);

            return(RedirectToAction("EditFromID", "Website", new { websiteID = page.WebsiteID }));
        }