Esempio n. 1
0
        private static async Task <LastTrack> GetLastTrack(string username)
        {
            try
            {
                var tracks = await LastFm.GetRecentScrobbles(username);

                return(tracks.FirstOrDefault());
            }
            catch (ServiceException)
            {
                return(null);
            }
        }