public MovieService(IMovieRepository movieRepository, IReviewRepository reviewRepository, IMovieInfoRepository movieInfoRepository, IActorService actorService) { _movieRepository = movieRepository; _reviewRepository = reviewRepository; _movieInfoRepository = movieInfoRepository; _actorService = actorService; }
public CastController(ILogger <CastController> logger, IMailService localMailService, IMovieInfoRepository repository, IMapper mapper) { _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _localMailService = localMailService ?? throw new ArgumentNullException(nameof(logger)); _repository = repository ?? throw new ArgumentNullException(nameof(repository)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
public MoviesController(IMovieInfoRepository repository, IMapper mapper) { _repository = repository ?? throw new ArgumentNullException(nameof(repository)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
public MovieInfoController(IMovieInfoRepository movieInfoRepository, IRogerEbertRepository rogerEbertRepository, IKidsInMindRepository kidsInMindRepository) { this.movieInfoRepository = movieInfoRepository; this.rogerEbertRepository = rogerEbertRepository; this.kidsInMindRepository = kidsInMindRepository; }