public void Add(TrackModel track) { var historyModel = new HistoryModel { DatePlayed = Context.Clock.CurrentTime, TrackHashName = track.HashName, }; _internalItems.Add(historyModel); AddToDatabase(historyModel); }
public Track(TrackModel model) { Model = model; }