public ActionResult CheckCardSerial(string key, string sirial)
 {
     if (key == Keyapi)
     {
         var b = _cardDa.CheckCardSerial(sirial);
         return(Json(b ? 1 : 0, JsonRequestBehavior.AllowGet));
     }
     return(Json(0, JsonRequestBehavior.AllowGet));
 }
Beispiel #2
0
        public string CheckCardSerial(string CardSerial)
        {
            var result = _cardDa.CheckCardSerial(CardSerial);

            return(result ? "true" : "false");
        }