public ActionResult Create(NhomVanBan nhomVanBan)
 {
     if (ModelState.IsValid)
     {
         db.NhomVanBan.Add(nhomVanBan);
         db.SaveChanges();
         return RedirectToAction("Index");
     }
     GetViewBag(ViewReport.Create);
     return View(nhomVanBan);
 }
 public ActionResult Edit(NhomVanBan nhomVanBan)
 {
     if (ModelState.IsValid)
     {
         db.Entry(nhomVanBan).State = EntityState.Modified;
         db.SaveChanges();
         return RedirectToAction("Index");
     }
     GetViewBag(ViewReport.Create);
     return View(nhomVanBan);
 }
 public ActionResult _CreateOrUpdate(NhomVanBan obj)
 {
     return View(obj);
 }