/// <summary>
        ///     Removes the last track.
        /// </summary>
        public void RemoveLastTrack()
        {
            if (TrackModels.Count == 0)
            {
                return;
            }
            var lastTrack = TrackModels.Last();

            if (lastTrack != null)
            {
                RemoveTrack(lastTrack);
            }
        }
 /// <summary>
 ///     Gets the last track.
 /// </summary>
 /// <returns>The last track</returns>
 public Track GetLastTrack()
 {
     return(TrackModels.Count == 0 ? null : GetLibraryTrack(TrackModels.Last()));
 }