Example #1
0
        private async void LoadAlbums()
        {
            var t = TaskStarted("albums");

            try
            {
                Albums = await _discoveryService.GetArtistAlbums(Artist.Id);
            }
            catch (Exception ex)
            {
                Logger.Error(ex, "Unable to load artist's albums");
            }
            finally
            {
                t.Finish();
            }
        }