public static void AddWatchedHistory(DBTrackInfo MusicVideo, DBUser user) { DBWatchedHistory history = new DBWatchedHistory(); history.DateWatched = DateTime.Now; history.Movie = MusicVideo; history.User = user; history.Commit(); MusicVideo.Commit(); }