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