示例#1
0
        public async Task <List <AlbumDto> > GetTopArtistsAlbums(string name, int page, int itemsPerPage = 20)
        {
            List <AlbumDto> albums = await _lastFm.GetTopArtistsAlbums(name, page, itemsPerPage);

            albums = await _resultFilter.GetFilteredTopArtistsAlbums(albums, name, page, itemsPerPage);
            await AddAlbumsToDatabaseIfNeeded(albums, name);

            return(albums);
        }