public async Task ItCanGetPredefinedAccounts() { var request = new PredefinedAccountListRequest(connectionSettings.AccessToken, connectionSettings.ClientSecret); var response = await PredefinedAccountsService.GetPredefinedAccountsAsync(request); Assert.IsNotNull(response); Assert.IsNotNull(response.Data); }
private async Task <List <PredefinedAccounts> > GetPredefinedAccounts() { var request = new PredefinedAccountListRequest(connectionSettings.AccessToken, connectionSettings.ClientSecret); return((await PredefinedAccountsService.GetPredefinedAccountsAsync(request)).Data.ToList()); }