public MovieService(IUnitOfWork unit, IMapper mapper, IMovieRecommender movieRecommender) { _unit = unit; _mapper = mapper; _movieRepo = unit.Movies; _screeningRepo = unit.Screenings; _genreMovieRepo = unit.Repository <GenreMovie, int>(); _movieRecommender = movieRecommender; }
public UserController(ILogger <UserController> logger, ImdbScraper imdbScraper, ImdbDbContext dbContext, IMovieRecommender movieRecommender) { _logger = logger; _dbContext = dbContext; _movieRecommender = movieRecommender; }
public MovieRecommenderController(IMovieRecommender recommenderService) { _recommenderService = recommenderService; }