public DataService() { _personRepo = new PersonRepository(); _movieRepo = new MovieRepository(); _companyRepo = new CompanyRepository(); _imageRepo = new ImageRepository(); _movieTrailerRepo = new MovieTrailerRepository(); _movieNewsRepo = new MovieNewsRepository(); }
public MoviesController(IMovieTrailerRepository movieTrailerRepository) { _movieTrailerRepository = movieTrailerRepository; }
public TrailersController(IMovieTrailerRepository movieTrailerRepository, IMapper mapper, ILoggerFactory log) { _movieTrailerRepository = movieTrailerRepository; _mapper = mapper; _log = log.CreateLogger <TrailersController>(); }