public YouTubeChannelDetailUseCase( IYouTubeDataService youtubeDataService, IChannelRepository channelRepository, ISailingTermRepository sailingTermRepository ) { _youtubeDataService = youtubeDataService ?? throw new ArgumentNullException(nameof(youtubeDataService)); _channelRepository = channelRepository ?? throw new ArgumentNullException(nameof(channelRepository)); _sailingTermRepository = sailingTermRepository ?? throw new ArgumentNullException(nameof(sailingTermRepository)); }
public ExtractYouTubeChannelIDUseCase( IYouTubeDataService ytService ) { _ytService = ytService ?? throw new ArgumentNullException(nameof(ytService)); }