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