public AppCustomer[] GetAllCustomers(string companyid) { ApplicationService.customer[] customers = appclient.GetAllCustomer(companyid, "", ""); return(AppCustomer.ConvertServiceCustomerToAppCustomer(customers.ToList()).ToArray()); }
public AppCustomer GetCustomer(string customerid, string companyid, string objectid) { ApplicationService.customer customer = appclient.GetCustomer(companyid, customerid, objectid); return(AppCustomer.ConvertServiceCustomerToAppCustomer(customer)); }