public void Commit()
 {
     _context.SaveChanges();
 }
예제 #2
0
 public void Remove(MovieCategory mc)
 {
     _context.MovieCategoriesEntity.Remove(mc);
     _context.SaveChanges();
 }
예제 #3
0
 public bool Commit()
 {
     _context.SaveChanges();
     return(true);
 }