コード例 #1
0
ファイル: MovieRepository.cs プロジェクト: ivobrands/fletniks
 public bool AddToWatchHistory(Watchhistory watchhistory)
 {
     _context.Watchhistory.Add(watchhistory);
     _context.SaveChanges();
     return(true);
 }
コード例 #2
0
 public void AddToWatchHistory(Watchhistory wh)
 {
     _context.Watchhistory.Add(wh);
 }