public JsonResult Xacnhanthanhtoan(string MaHD) { HopdongNCCModel modelNCC = new HopdongNCCModel(); if (modelNCC.SetTTThanhtoan(MaHD, true)) { return(Json("success", JsonRequestBehavior.AllowGet)); } return(Json("faill", JsonRequestBehavior.AllowGet)); }
public JsonResult Xacnhanthanhtoan(int maHd) { var modelNCC = new HopdongNCCModel(); if (modelNCC.SetTTThanhtoan(maHd, true)) { return(Json("success", JsonRequestBehavior.AllowGet)); } return(Json("faill", JsonRequestBehavior.AllowGet)); }