// (adds if ID is set to 0)
        public void EditMovie(Movie movie)
        {
            var mappedMovie = Map(movie);

            _db.Update(mappedMovie);
            _db.SaveChanges();
        }
 // (adds if ID is set to 0)
 public void EditMovie(Movie movie)
 {
     _db.Update(Map(movie));
     _db.SaveChanges();
 }