public ActionResult Edit(NUOC nuoc) { if (ModelState.IsValid) { var dao = new QLNModel(); var result = dao.Update(nuoc); if (result) { SetAlert("Cập nhật thông tin nước thành công", "success"); return(RedirectToAction("Index", "QLN")); } else { ModelState.AddModelError("", "Cập nhật thông tin nước không thành công"); } } return(View()); }