public JsonResult check(int code) { lstructure verif = new lstructure(); structuse str = new structuse(); str = verif.verifier(code); if (str.codeuse == true) { return(Json(1)); } else { return(Json(0)); } }