public ActionResult CreateModule(ModuleMst module)
        {
            _db.ModuleMsts.Add(module);
            _db.SaveChanges();

            return(View());
        }
Exemple #2
0
        public ActionResult CreateModule(ModuleMst moduleMst)
        {
            db.ModuleMsts.Add(moduleMst);
            db.SaveChanges();

            return(RedirectToAction("ModuleList"));
        }