public async Task <string> GetArtworkUrl(ApiClient client, string artistName, string albumTitle) { var getInfoMethod = new GetInfoMethod(client, artistName, albumTitle); var albumInfo = await getInfoMethod.GetResultAsync(); return(albumInfo.ArtworkUrl); }
public async Task <ArtistInfo> GetInfo(ApiClient client, string artistName) { var getInfoMethod = new GetInfoMethod(client, artistName); return(await getInfoMethod.GetResultAsync()); }