public SearchAlbumsCommandTests() { _command = new SearchAlbumsCommand(MAuth.Object, "By the throat") { Page = 2, Count = 3 }; _command.SetParameters(); }
public async Task <PageResponse <LastAlbum> > SearchForAlbumAsync(string albumname, int page = 1, int itemsPerPage = LastFm.DefaultPageLength) { var command = new SearchAlbumsCommand(Auth, albumname) { Page = page, Count = itemsPerPage }; return(await command.ExecuteAsync()); }