예제 #1
0
 public bool RemoveDirector(MovieDirector movieDirector)
 {
     _context.MovieDirector.Remove(movieDirector);
     _context.SaveChanges();
     return(true);
 }
예제 #2
0
 public void RemoveDirector(MovieDirector director)
 {
     _context.MovieDirector.Remove(director);
 }
예제 #3
0
 public bool AddDirector(MovieDirector newDirector)
 {
     _context.MovieDirector.Add(newDirector);
     _context.SaveChanges();
     return(true);
 }
예제 #4
0
 public void AddDirector(MovieDirector director)
 {
     _context.MovieDirector.Add(director);
 }