public JsonResult checkBookExist(string bkno, string blno) { string result = "0"; if (db.VT_CheckBookExist(bkno, blno).FirstOrDefault() != null) { result = "1"; } return(Json(result, JsonRequestBehavior.AllowGet)); }