public void Insert(Movie item)
 {
     using (var context = new Context())
     {
         context.Movies.Add(item);
     }
 }
 public void Update(Movie item)
 {
     throw new System.NotImplementedException();
 }
Beispiel #3
0
 public void AddMovie(Movie movie)
 {
     _movieRepository.Insert(movie);
 }