예제 #1
0
        public async Task ItCanGetConnectionsForManyFiles()
        {
            var request  = new ArticleFileConnectionListRequest(connectionSettings.AccessToken, connectionSettings.ClientSecret);
            var response = await ArticleFileConnectionService.GetArticleFileConnectionsAsync(request);

            Assert.IsNotNull(response);
            Assert.IsNotNull(response.Data);
        }
예제 #2
0
        private async Task <List <ArticleFileConnections> > GetConnections()
        {
            var request = new ArticleFileConnectionListRequest(connectionSettings.AccessToken, connectionSettings.ClientSecret);

            return((await ArticleFileConnectionService.GetArticleFileConnectionsAsync(request)).Data.ToList());
        }