Exemplo n.º 1
0
 public TvShowService(IRepository <TvShow> tvShowRepository, IActorAssignmentService actorAssignmentService, IRepository <Category> categoryRepository,
                      ITvShowCategoriesAssignmentsService tvShowCategoriesAssignmentsService, IUserFavouriteTvShowsService userFavouriteTvShowsService,
                      IRatingService ratingService, IUserWatchedEpisodeService userWatchedEpisodeService, IMapper mapper)
 {
     _tvShowRepository                   = tvShowRepository;
     _actorAssignmentService             = actorAssignmentService;
     _categoryRepository                 = categoryRepository;
     _tvShowCategoriesAssignmentsService = tvShowCategoriesAssignmentsService;
     _userFavouriteTvShowsService        = userFavouriteTvShowsService;
     _ratingService             = ratingService;
     _userWatchedEpisodeService = userWatchedEpisodeService;
     _mapper = mapper;
 }
 public UserFavouriteTvShowsController(IUserFavouriteTvShowsService userFavouriteTvShowsService, IMapper mapper)
 {
     _userFavouriteTvShowsService = userFavouriteTvShowsService;
     _mapper = mapper;
 }