public ActionResult Edit([Bind(Include = "ShippingMethodID,Title,Price,CreateDate")] ShippingMethod shippingMethod) { if (ModelState.IsValid) { var _dal = new ShippingMethodDAL(); var _result = _dal.Update(shippingMethod); if (_result) { return(RedirectToAction("Index", "ShippingMethods")); } else { ModelState.AddModelError("", "Cập nhật phương thức vận chuyển ko thành công"); } } return(View(shippingMethod)); }