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