public ActionResult Create([Bind(Include = "MaLop,TenLop,NienKhoa,MaKhoa,MaHDT")] Lop lop)
        {
            if (ModelState.IsValid)
            {
                contextLop.Create(lop);
                return(RedirectToAction("Index"));
            }

            ViewBag.MaKhoa = new SelectList(contextKhoa.GetAll(), "MaKhoa", "TenKhoa", lop.MaKhoa);
            ViewBag.MaHDT  = new SelectList(contextHDT.GetAll(), "MaHDT", "TenHDT", lop.MaHDT);
            return(View(lop));
        }