public CreatePlayListService CreateCreatePlayListService() { var pLayListDatabaseAdapter = new PLayListPostgreSQLPersistenceAdapter(); var uniqueIdentifiersInMemoryAdapter = new UniqueIdentifiersInMemoryAdapter(); return(new CreatePlayListService(uniqueIdentifiersInMemoryAdapter, pLayListDatabaseAdapter, eventPublisher)); }
public CreatePlayListService CreateCreatePlayListService() { var pLayListDatabaseAdapter = new PLayListPostgreSQLPersistenceAdapter(); var musicCloudApiHttpAdapter = new PlayListSpotifyApiAdapter(); var uniqueIdentifiersInMemoryAdapter = new UniqueIdentifiersInMemoryAdapter(); return(new CreatePlayListService(uniqueIdentifiersInMemoryAdapter, pLayListDatabaseAdapter, musicCloudApiHttpAdapter)); }