Example #1
0
        public static spotifyTracks.Tracks getTracks()
        {
            spotifyTracks.Tracks tracks = new spotifyTracks.Tracks();

            try
            {
                tracks = JSonHelper.ConvertJSonToObject<spotifyTracks.Tracks>(getHttpWebResponse(trackList, getToken()));
            }
            catch (Exception ex)
            {
                System.Diagnostics.EventLog.WriteEntry("MyPresenter", ex.Message);
            }
            finally { }

            return tracks;
        }
Example #2
0
        public static spotifyTracks.Tracks getTracks()
        {
            spotifyTracks.Tracks tracks = new spotifyTracks.Tracks();

            try
            {
                tracks = JSonHelper.ConvertJSonToObject <spotifyTracks.Tracks>(getHttpWebResponse(trackList, getToken()));
            }
            catch (Exception ex)
            {
                System.Diagnostics.EventLog.WriteEntry("MyPresenter", ex.Message);
            }
            finally { }

            return(tracks);
        }