public void Update(Movie movie) { movies[movie.Id] = movie; }
public void Add(Movie movie) { movie.Id = nextId; nextId++; movies.Add(movie.Id, movie); }