Exemplo n.º 1
0
        public GetMovieGenresRecurringJob(TraktAPIConfiguration traktApiConfiguration, ITraktMovieRepository traktMovieRepository)
        {
            _traktApiConfiguration = traktApiConfiguration;
            _traktMovieRepository  = traktMovieRepository;

            _traktClient = new TraktClient(_traktApiConfiguration.ClientId, _traktApiConfiguration.ClientSecret);
        }
Exemplo n.º 2
0
 public ListController(UserManager <User> userManager, IBackgroundJobQueueService backgroundJobQueueService, LimitConfigurationList limitConfigurationList, ITraktListRepository traktRepository, ITraktMovieRepository traktMovieRepository, ITraktShowRepository traktShowRepository, ITraktCodeRepository traktCodesRepository, ITraktService traktService)
 {
     _userManager = userManager;
     _backgroundJobQueueService = backgroundJobQueueService;
     _limitConfigurationList    = limitConfigurationList;
     _traktRepository           = traktRepository;
     _traktMovieRepository      = traktMovieRepository;
     _traktShowRepository       = traktShowRepository;
     _traktCodesRepository      = traktCodesRepository;
     _traktService = traktService;
 }