/// <summary> /// Initializes a new instance of the <see cref="NewEpisodes"/> class. /// </summary> public NewEpisodes() { using (IKernel kernel = new StandardKernel(new ModuleForBackgroundUpdater())) { this.manager = kernel.Get <TvShowsInformationManager>(); this.repository = kernel.Get <ITvShowNewEpisodesRepository>(); this.seasonsRepository = kernel.Get <ISeasonsRepository>(); this.episodesRepository = kernel.Get <IEpisodesRepository>(); this.tvshowsRepository = kernel.Get <ITvShowsRepository>(); this.logger = kernel.Get <ILogger>(); } }
public AccessTvShowsController(ITvShowsRepository repo) { _repo = repo; }
public HomeController(ITvShowsRepository repo) { _repo = repo; }