// Gets the account's migration statuses. private async Task <IEnumerable <AccountMigrationStatusesInfo> > GetAccountMigrationStatusesAsync( long[] accountIds, string migrationType) { var request = new GetAccountMigrationStatusesRequest { AccountIds = accountIds, MigrationType = migrationType }; return((await CampaignService.CallAsync((s, r) => s.GetAccountMigrationStatusesAsync(r), request)).MigrationStatuses); }
// Gets the account's migration statuses. private async Task<IEnumerable<AccountMigrationStatusesInfo>> GetAccountMigrationStatusesAsync( long[] accountIds, string migrationType) { var request = new GetAccountMigrationStatusesRequest { AccountIds = accountIds, MigrationType = migrationType }; return (await CampaignService.CallAsync((s, r) => s.GetAccountMigrationStatusesAsync(r), request)).MigrationStatuses; }