public TMDbSearchRepository(TMDbClient tmdbClient, IMovieRepository movieRepository, ITVRepository tvRepository) { this.tmdbClient = tmdbClient ?? throw new ArgumentNullException($"{nameof(tmdbClient)}"); this.tmdbClient.GetConfigAsync(); this.movieRepository = movieRepository ?? throw new ArgumentNullException($"{nameof(movieRepository)}"); this.tvRepository = tvRepository ?? throw new ArgumentNullException($"{nameof(tvRepository)}"); }
public TVService(ITVRepository tvRepository) { this.tvRepository = tvRepository; }
public TVController(ITVRepository tvRepository) { _tvRepository = tvRepository; }