Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 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);
 }