Esempio 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;
 }
Esempio n. 2
0
 public UsersWatchedEpisodeController(IUserWatchedEpisodeService userWatchedEpisodeService)
 {
     _userWatchedEpisodeService = userWatchedEpisodeService;
 }