Пример #1
0
        public async Task ItCanGetAssets()
        {
            var request = new AssetListRequest(this.connectionSettings.AccessToken, this.connectionSettings.ClientSecret);
            var result  = await AssetsService.GetAssetsAsync(request);

            Assert.IsTrue(result.Data.Count() >= 0);
        }
Пример #2
0
        private async Task <List <AssetSubset> > GetAssets()
        {
            var request = new AssetListRequest(connectionSettings.AccessToken, connectionSettings.ClientSecret);

            return((await AssetsService.GetAssetsAsync(request)).Data.ToList());
        }