public MovieRepository(MyMoviesContext context) { Context = context; }
public CommentsController(MyMoviesContext context) { _context = context; }
public MoviesController(MyMoviesContext context, IMapper mapper) { _context = context; _mapper = mapper; this.movieRepository = new MovieRepository(new MyMoviesContext()); }
public MovieCommentRepository(MyMoviesContext context) { Context = context; }