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