public IModelReference InsertTrack(TrackData track)
        {
            Guid id = Guid.NewGuid();
            var dto = new TrackDTO
                {
                    Id = id.ToString(),
                    Album = track.Album,
                    Artist = track.Artist,
                    GroupId = track.GroupId,
                    ISRC = track.ISRC,
                    ReleaseYear = track.ReleaseYear,
                    Title = track.Title,
                    TrackLengthSec = track.TrackLengthSec
                };

            this.solrForTracksCore.Add(dto);
            this.solrForTracksCore.Commit();
            return new SolrModelReference(id.ToString());
        }
 private TrackData Convert(TrackDTO dto)
 {
     var track = new TrackData(
         dto.ISRC,
         dto.Artist,
         dto.Title,
         dto.Album,
         dto.ReleaseYear,
         dto.TrackLengthSec,
         new SolrModelReference(dto.Id)) { GroupId = dto.GroupId };
     return track;
 }