示例#1
0
        public List <AppContact> GetEmployees(string companyid, string creatorid)
        {
            ApplicationService.contact[]      ServiceEmployees          = appclient.GetEmployees(companyid, creatorid, "", "");
            List <ApplicationService.contact> serviceemployeecollection = ServiceEmployees.ToList();
            List <AppContact> employees = AppContact.ConvertServiceContactsToAppContacts(serviceemployeecollection);

            return(employees);
        }
示例#2
0
 public List <AppContact> GetContacts(string companyid, string objectid)
 {
     ApplicationService.contact[] servicecontacts = appclient.GetContacts(objectid, companyid, "1", "100");
     return(AppContact.ConvertServiceContactsToAppContacts(servicecontacts.ToList()));
 }