public string CheckCardSerial(string CardSerial) { var result = _api.CheckCardSerial(CardSerial); return(result == 1 ? "true" : "false"); }