public NowPlayingRepository([NotNull] PartyTubeDbContext context, [NotNull] IVideoRepository videoRepository, [NotNull] ICurrentPlaylistRepository currentPlaylistRepository, [NotNull] IHistoryRepository historyRepository) { _context = context; _videoRepository = videoRepository; _currentPlaylistRepository = currentPlaylistRepository; _historyRepository = historyRepository; }
public CurrentPlaylistService([NotNull] ISearchService searchService, [NotNull] ICurrentPlaylistRepository currentPlaylistRepository) { _searchService = searchService; _currentPlaylistRepository = currentPlaylistRepository; }