예제 #1
0
 public SpotifyService(
     IPlaylistsApi playlists,
     IPlayerApi player,
     IAlbumsApi albums,
     IArtistsApi artists,
     ILogger <SpotifyService> logger
     )
 {
     _playlists = playlists;
     _albums    = albums;
     _artists   = artists;
     _player    = player;
     _logger    = logger;
 }
 public SpotifyController
 (
     IArtistsApi artists,
     IPlayerApi player,
     IUserAccountsService userAccounts,
     UserAuthService authService,
     AuthStateService stateService
 )
 {
     _artists      = artists;
     _userAccounts = userAccounts;
     _authService  = authService;
     _stateService = stateService;
     _player       = player;
 }