public void Refresh()
 {
     PopulateList(() => _service.GetLastWeekTopArtists(5), TopArtists);
     PopulateList(() => _service.GetLastWeekTopAlbums(5), TopAlbums);
     PopulateList(() => _service.GetLastWeekTopTracks(5), TopTracks);
 }
예제 #2
0
 public async Task <ICollection <Statistic> > GetLastWeekTopAlbums(int limit)
 {
     return(await GetStatistics(i => _service.GetLastWeekTopAlbums(i), limit, "Get Top Albums Week (Limit: " + limit + ")"));
 }