예제 #1
0
 public MovieRepository(MyMoviesContext context)
 {
     Context = context;
 }
예제 #2
0
 public CommentsController(MyMoviesContext context)
 {
     _context = context;
 }
예제 #3
0
 public MoviesController(MyMoviesContext context, IMapper mapper)
 {
     _context             = context;
     _mapper              = mapper;
     this.movieRepository = new MovieRepository(new MyMoviesContext());
 }
예제 #4
0
 public MovieCommentRepository(MyMoviesContext context)
 {
     Context = context;
 }