public async Task UpdateTrackAsync(Track track)
 {
     await httpClient.PutAsJsonAsync("speakers/list", track);
 }
 public void UpdateTrack(Track track)
 {
     throw new NotImplementedException();
 }
 public Track AddTrack(Track track)
 {
     throw new NotImplementedException();
 }
        public async Task<Track> AddTrackAsync(Track track)
        {
            var response = await httpClient.PostAsJsonAsync("tracks/list", track);
            var result = await response.Content.ReadAsAsync<Track>();

            return result;
        }
 public UITrack(Track track)
 {
     this.Track = track;
     this.Name = track.Name;
 }