Exemplo n.º 1
0
 public WebtoonsService(
     IWebtoonsRepository webtoonsRepository,
     IEpisodesRepository episodesRepository,
     IGenresRepository genresRepository,
     IApplicationUserRepository applicationUserRepository,
     IWebtoonsSubscribersRepository webtoonsSubscribersRepository,
     IReviewsRepository reviewsRepository,
     IReviewsVotesRepository reviewsVotesRepository,
     IEpisodesLikesService episodesLikesService,
     IWebtoonsRatingsService webtoonsRatingsService,
     IEpisodesViewsService episodesViewsService)
 {
     this.webtoonsRepository            = webtoonsRepository;
     this.episodesRepository            = episodesRepository;
     this.genresRepository              = genresRepository;
     this.applicationUserRepository     = applicationUserRepository;
     this.webtoonsSubscribersRepository = webtoonsSubscribersRepository;
     this.reviewsRepository             = reviewsRepository;
     this.reviewsVotesRepository        = reviewsVotesRepository;
     this.episodesLikesService          = episodesLikesService;
     this.webtoonsRatingsService        = webtoonsRatingsService;
     this.episodesViewsService          = episodesViewsService;
 }
 public EpisodesController(IEpisodesService episodesService, IEpisodesViewsService episodesViewsService, IWebHostEnvironment webHostEnvironment)
 {
     this.episodesService      = episodesService;
     this.episodesViewsService = episodesViewsService;
     this.webHostEnvironment   = webHostEnvironment;
 }