Exemple #1
0
        public ActionResult AjouterThemeVerif(CTheme theme)
        {
            if (ModelState.IsValid)
            {
                //CDal dal = new CDal();
                //dal.AjouterTheme(theme);

                theme.AjouterTheme();
            }
            return(RedirectToAction("ListTheme"));
        }