Beispiel #1
0
 public int addUser(string username, string password, string first, string last)
 {
     //takes in username and password for new user
     //passes these into an interface function
     //returns userID
     user_id = connection.addUser(username, password, first, last);
     if (user_id >= 0)
     {
         return(1);
     }
     else
     {
         return(0);
     }
 }