Example #1
0
        private async Task <IReadOnlyList <ItemDetails> > GetArtifactItemsDetailsAsync(int collectionId, int userId)
        {
            var artifactIds = await _collectionsRepository.GetContentArtifactIdsAsync(collectionId, userId);

            var artifactItems = await GetArtifactItemsDetailsAsync(artifactIds, userId);

            return(artifactItems);
        }