Ejemplo n.º 1
0
        public FilmCommentShould()
        {
            httpMovieService      = new HttpMovieClientServiceMock();
            movieRepository       = new MovieRepositoryMock();
            filmCommentRepository = new FilmCommentRepositoryMock();

            movieService      = new MovieService(httpMovieService.Object, movieRepository.Object);
            filmCommenService = new FilmCommentService(filmCommentRepository.Object, movieService);
        }
Ejemplo n.º 2
0
 public FilmCommentController(IFilmCommentService filmComment, IMapper mapper)
 {
     _filmCommentService = filmComment;
     _mapper             = mapper;
 }
Ejemplo n.º 3
0
 public FilmCommentController(IFilmCommentService filmCommentService, IFilmCommentValidatorService filmCommentValidatorService)
 {
     _filmCommentService          = filmCommentService;
     _filmCommentValidatorService = filmCommentValidatorService;
 }