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