Пример #1
0
        public async Task <List <StoriesDescriptionResponse> > Execute(BestStoriesChainParameters chainParam)
        {
            chainParam.IDStoriesResponse = await _storiesAcl.GetStoriesIDs();

            if (chainParam.IDStoriesResponse == null)
            {
                return(chainParam.StoriesDescriptionResponseList);
            }

            return(await Next.Execute(chainParam));
        }
Пример #2
0
        public async Task ShouldGetStoriesIDSuccessfully()
        {
            var result = await _acl.GetStoriesIDs();

            result.Should().NotBeNull();
        }