Пример #1
0
        public async Task <LastResponse <LastAlbum> > GetAlbumInfoAsync(string artistname, string albumname, bool autocorrect = false)
        {
            var command = new GetAlbumInfoCommand(Auth, albumname, artistname)
            {
                Autocorrect = autocorrect
            };

            return(await command.ExecuteAsync());
        }
Пример #2
0
        public async Task <LastResponse <LastAlbum> > GetAlbumInfoByMbidAsync(string albumMbid, bool autocorrect = false)
        {
            var command = new GetAlbumInfoCommand(Auth)
            {
                AlbumMbid   = albumMbid,
                Autocorrect = autocorrect
            };

            return(await command.ExecuteAsync());
        }