public async Task <AccountLegalEntity[]> GetAccountLegalEntities(long accountId) { var response = await _client.GetAll <AccountLegalEntity>(new GetAccountLegalEntitiesRequest(accountId)); return(response.ToArray()); }
public async Task <ApprenticeshipIncentiveDto[]> GetApprenticeshipIncentives(long accountId, long accountLegalEntityId) { var response = await _client.GetAll <ApprenticeshipIncentiveDto>(new GetApprenticeshipIncentivesRequest(accountId, accountLegalEntityId)); return(response.ToArray()); }