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();
 }
Beispiel #2
0
        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();
        }