Exemple #1
0
        public AppContact GetEmployeeInformation(string employeeid, string companyid, string creatorid, string objectype)
        {
            AppContact employeeContact = new AppContact();

            ApplicationService.contact con = appclient.GetEmployee(employeeid, companyid, creatorid);
            employeeContact = AppContact.ConvertServiceContactToAppContact(con);
            return(employeeContact);
        }
Exemple #2
0
        public AppContact GetContact(string contactid, string companyid, string objectid)
        {
            ApplicationService.contact servicecontact = new ApplicationService.contact();
            AppContact returncontact = new AppContact();

            try
            {
                servicecontact = appclient.GetContact(contactid, objectid, companyid);
                returncontact  = AppContact.ConvertServiceContactToAppContact(servicecontact);
            }
            catch
            {
            }
            return(returncontact);
        }