public ActionResult Edit([Bind(Include = "PaymentStatusID,Name,Note,CreateDate,CreateUser,ModifiedDate,ModifiedUser,IsActive")] PaymentStatu paymentStatu) { var UserSession = (UserLogin)Session[TechDeviShopVs002.Common.CommonConstants.USER_SESSION]; if (ModelState.IsValid) { var _dal = new PaymentStatusDAL(); paymentStatu.ModifiedUser = UserSession.UserID; var _result = _dal.Update(paymentStatu); if (_result) { return(RedirectToAction("Index", "PaymentStatus")); } else { ModelState.AddModelError("", "Cập nhật trạng thái thanh toán ko thành công"); } } return(View(paymentStatu)); }