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;
 }
Exemple #3
0
 public PlaylistsPopularController(
     IPlaylistEntity pPlaylistEntity,
     ISearchMusicService pYoutubeSearch,
     ISongsEntity pSongManager,
     ITagEntity pTagEntity,
     ILogService pLogger
     ) : base(pLogger)
 {
     _playlistEntity = pPlaylistEntity;
     _youtubeSearch  = pYoutubeSearch;
     _songManager    = pSongManager;
     _tagEntity      = pTagEntity;
 }