예제 #1
0
 public void addUser(user newUser)
 {       //send newly created user object to connection object and finally to DB
     newUser.setregistrationNumber(++registrationNumber);
     connection.addUser(newUser);
 }
 public void addUser(user newUser)
 {
     //send newly created user object to connection object and finally to DB
     newUser.setregistrationNumber(++registrationNumber);
     connection.addUser(newUser);
 }