private void verifyCarExisted(Auto auto) { if (dao.carExists(auto) != 0) { throw new Exception("La patente ingresada ya existe."); } }
private void verifyCarExisted(Auto auto) { if (dao.carExists(auto) != 0) { throw new Exception("La patente ingresada ya existe."); } }