예제 #1
0
 public void Update(Film film)
 {
     db.Entry(film).State = EntityState.Modified;
 }
예제 #2
0
 public void Create(Film film)
 {
     db.Films.Add(film);
 }