Exemple #1
0
 public List <Office> GetOffices(int opportunityId)
 {
     return(_client.GetSubItems <Office>(PrimaryEntityType.Opportunity, opportunityId, "offices"));
 }
Exemple #2
0
 public List <CompanyAddress> GetAddresses(int companyId)
 {
     return(_client.GetSubItems <CompanyAddress>(PrimaryEntityType.Company, companyId, "addresses"));
 }