Exemplo n.º 1
0
 private static String[] getContactsByUserServiceTest(String[] tk)
 {
     try
     {
         Contact resultContact = sm.getContactByUserService(tk[1], int.Parse(tk[2]));
         Console.WriteLine("ContactID\t\tnameContact\t\t\t\t\t\tGroupContact\n");
         return(str2arr(resultContact.contactID + "\t\t\t" + resultContact.nameContact + "\t\t\t\t\t" + resultContact.GroupContact));
     }
     catch
     {
         return(str2arr("Missing/Invalid argument.Usage:getContactByUserServiceTest <externalUserID> <serviceID>"));
     }
 }