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)); }
public async Task ShouldGetStoriesIDSuccessfully() { var result = await _acl.GetStoriesIDs(); result.Should().NotBeNull(); }