예제 #1
0
 public bool AddToWatchHistory(Watchhistory watchhistory)
 {
     _context.Watchhistory.Add(watchhistory);
     _context.SaveChanges();
     return(true);
 }
예제 #2
0
 public void AddToWatchHistory(Watchhistory wh)
 {
     _context.Watchhistory.Add(wh);
 }