public ActionResult Edit(LoaiVanBan loaiVanBan)
 {
     if (ModelState.IsValid)
     {
         db.Entry(loaiVanBan).State = EntityState.Modified;
         db.SaveChanges();
         return RedirectToAction("Index");
     }
     return View(loaiVanBan);
 }
        public ActionResult Create(LoaiVanBan loaiVanBan)
        {
            if (ModelState.IsValid)
            {
                db.LoaiVanBan.Add(loaiVanBan);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

            return View(loaiVanBan);
        }
 public ActionResult _CreateOrUpdate(LoaiVanBan obj)
 {
     return View(obj);
 }