public async Task <AccountLegalEntity[]> GetAccountLegalEntities(long accountId)
        {
            var response = await _client.GetAll <AccountLegalEntity>(new GetAccountLegalEntitiesRequest(accountId));

            return(response.ToArray());
        }
示例#2
0
        public async Task <ApprenticeshipIncentiveDto[]> GetApprenticeshipIncentives(long accountId, long accountLegalEntityId)
        {
            var response = await _client.GetAll <ApprenticeshipIncentiveDto>(new GetApprenticeshipIncentivesRequest(accountId, accountLegalEntityId));

            return(response.ToArray());
        }