예제 #1
0
 public PlaylistEntity(
     IBaseSettings pSettingsConfig,
     ITagEntity pTagEntity,
     ISongsEntity pSongEntity)
     : base(pSettingsConfig, nameof(Playlist))
 {
     _tagEntity  = pTagEntity;
     _songEntity = pSongEntity;
 }
 public PlaylistsController(
     IPlaylistEntity pPlaylistEntity,
     ISearchMusicService pYoutubeSearch,
     ISongsEntity pPlaylistSongEntity,
     ILogService pLogger) : base(pLogger)
 {
     _playlistEntity     = pPlaylistEntity;
     _youtubeSearch      = pYoutubeSearch;
     _playlistSongEntity = pPlaylistSongEntity;
 }
예제 #3
0
 public PlaylistsPopularController(
     IPlaylistEntity pPlaylistEntity,
     ISearchMusicService pYoutubeSearch,
     ISongsEntity pSongManager,
     ITagEntity pTagEntity,
     ILogService pLogger
     ) : base(pLogger)
 {
     _playlistEntity = pPlaylistEntity;
     _youtubeSearch  = pYoutubeSearch;
     _songManager    = pSongManager;
     _tagEntity      = pTagEntity;
 }