// Gets the shared entities such as negative keyword lists from the account's library. private async Task <IList <SharedEntity> > GetSharedEntitiesByAccountIdAsync(string sharedEntityType) { var request = new GetSharedEntitiesByAccountIdRequest { SharedEntityType = sharedEntityType }; return((await Service.CallAsync((s, r) => s.GetSharedEntitiesByAccountIdAsync(r), request)).SharedEntities); }
// Gets the shared entities such as negative keyword lists from the account's library. private async Task<IList<SharedEntity>> GetSharedEntitiesByAccountIdAsync(string sharedEntityType) { var request = new GetSharedEntitiesByAccountIdRequest { SharedEntityType = sharedEntityType }; return (await Service.CallAsync((s, r) => s.GetSharedEntitiesByAccountIdAsync(r), request)).SharedEntities; }