Esempio n. 1
0
        public async Task <IEnumerable <AlbumList> > GetCurrentUserAlbums()
        {
            IEnumerable <PhotoListDTO> photos = await _photosService.GetCurrentUserPhotosAsync();

            IEnumerable <AlbumListDTO> albums = await _albumsService.GetCurrentUserAlbumsAsync();

            return(_albumAggregator.Combine(albums, photos));
        }