public void Edit(Movie m)
 {
     db.Entry(m).State = EntityState.Modified;
         db.SaveChanges();
 }
 public void Add(Movie m)
 {
     db.Movies.Add(m);
         db.SaveChanges();
 }