public void Incrementfalsepin(String PasID)//UPDATED { HTTPget tmp = new HTTPget(); int nrfalsepin = tmp.getFalsePinnr(PasID); nrfalsepin++; if (nrfalsepin < 3) { setFalsePin(PasID).Wait(); } else { blockcard(PasID); } }
public void Incrementfalsepin(String PasID) { HTTPget tmp = new HTTPget(); int nrfalsepin = tmp.getFalsePinnr(PasID); Pas uploaddata = tmp.getPinclass(PasID); nrfalsepin++; if (nrfalsepin >= 3) { BlockScreen a = new BlockScreen(); BlockCard(PasID, uploaddata).Wait(); } if (nrfalsepin < 3) { incrementFalsePin(PasID, uploaddata, nrfalsepin).Wait(); } }