public JsonResult IsChargeCodeExist(string chargeCode) { bool isexist = false; if (!string.IsNullOrEmpty(chargeCode)) { BCBSClient client = new BCBSClient(); isexist = client.CheckIsChargeCodeExist(chargeCode, "customer"); } return Json(!isexist, JsonRequestBehavior.AllowGet); }
public JsonResult IsChargeCodeExist(string ChargeCode) { bool isexist = false; if (!string.IsNullOrEmpty(ChargeCode)) { //if (!string.IsNullOrEmpty(existCode)) //{ //if (ChargeCode.ToLower() != existCode.ToLower()) //{ BCBSClient client = new BCBSClient(); isexist = client.CheckIsChargeCodeExist(ChargeCode, "project"); // } //} } return Json(!isexist, JsonRequestBehavior.AllowGet); }