Beispiel #1
0
 public static Boolean Register(CommonClient client)
 {
     if (client.Phone2 == "")//* Phone2 is optional
     {
         client.Phone2 = null;
     }
     if (DataUser.Register(client) == false)
     {
         Debug.WriteLine("User " + client.Email + " already exists.");
         return(false);
     }
     Debug.WriteLine("User " + client.Email + " was added successfully.");
     return(true);
 }