예제 #1
0
 public bool RemoveMovieAward(MovieAward movieAward)
 {
     _context.MovieAward.Remove(movieAward);
     _context.SaveChanges();
     return(true);
 }
예제 #2
0
 public void RemoveAward(MovieAward newAward)
 {
     _context.MovieAward.Remove(newAward);
 }
예제 #3
0
 public bool AddMovieAward(MovieAward movieAward)
 {
     _context.MovieAward.Add(movieAward);
     _context.SaveChanges();
     return(true);
 }
예제 #4
0
 public void AddAward(MovieAward newAward)
 {
     _context.MovieAward.Add(newAward);
 }