Пример #1
0
        public ActionResult Create([Bind(Include = "MaMH,TenMH,SoTinChiLyThuyet,SoTinChiThucHanh")] MonHoc monHoc)
        {
            if (ModelState.IsValid)
            {
                contextMH.Create(monHoc);
                return(RedirectToAction("Index"));
            }

            return(View(monHoc));
        }