Exemple #1
0
        public CreatePlayListService CreateCreatePlayListService()
        {
            var pLayListDatabaseAdapter          = new PLayListPostgreSQLPersistenceAdapter();
            var uniqueIdentifiersInMemoryAdapter = new UniqueIdentifiersInMemoryAdapter();

            return(new CreatePlayListService(uniqueIdentifiersInMemoryAdapter, pLayListDatabaseAdapter, eventPublisher));
        }
Exemple #2
0
        public RemoveTrackFromPLayListService CreateRemoveTrackFromPLayListService()
        {
            var pLayListPostgreSqlAdapter = new PLayListPostgreSQLPersistenceAdapter();
            var tracksNotifierAdapter     = new TraksSpotifyApiAdapter();

            return(new RemoveTrackFromPLayListService(pLayListPostgreSqlAdapter, tracksNotifierAdapter));
        }
Exemple #3
0
        public AddTrackToPlayListService CreateAddTrackToPlayListService()
        {
            var pLayListPostgreSqlAdapter = new PLayListPostgreSQLPersistenceAdapter();
            var tracksNotifierAdapter     = new TraksSpotifyApiAdapter();

            return(new AddTrackToPlayListService(pLayListPostgreSqlAdapter, tracksNotifierAdapter));
        }
        public AddImageUrlToPlayListService CreateAddImageUrlPlayListService()
        {
            var pLayListDatabaseAdapter  = new PLayListPostgreSQLPersistenceAdapter();
            var musicCloudApiHttpAdapter = new PlayListSpotifyApiAdapter();

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

            return(new CreatePlayListService(uniqueIdentifiersInMemoryAdapter, pLayListDatabaseAdapter, musicCloudApiHttpAdapter));
        }
        public RemoveTrackFromPLayListCommandHandler CreateRemoveTrackFromPLayListCommandHandler()
        {
            var pLayListPostgreSqlAdapter = new PLayListPostgreSQLPersistenceAdapter();

            return(new RemoveTrackFromPLayListCommandHandler(pLayListPostgreSqlAdapter, eventPublisher));
        }
        public AddTrackToPlayListCommandHandler CreateAddTrackToPlayListCommandHandler()
        {
            var pLayListPostgreSqlAdapter = new PLayListPostgreSQLPersistenceAdapter();

            return(new AddTrackToPlayListCommandHandler(pLayListPostgreSqlAdapter, eventPublisher));
        }
Exemple #8
0
        public AddImageUrlToPlayListService CreateAddImageUrlPlayListService()
        {
            var pLayListDatabaseAdapter = new PLayListPostgreSQLPersistenceAdapter();

            return(new AddImageUrlToPlayListService(pLayListDatabaseAdapter, eventPublisher));
        }
Exemple #9
0
        public RenamePlayListService CreateRenamePlayListService()
        {
            var pLayListDatabaseAdapter = new PLayListPostgreSQLPersistenceAdapter();

            return(new RenamePlayListService(pLayListDatabaseAdapter, eventPublisher));
        }
Exemple #10
0
        public RemoveTrackFromPLayListService CreateRemoveTrackFromPLayListService()
        {
            var pLayListPostgreSqlAdapter = new PLayListPostgreSQLPersistenceAdapter();

            return(new RemoveTrackFromPLayListService(pLayListPostgreSqlAdapter, eventPublisher));
        }
Exemple #11
0
        public AddTrackToPlayListService CreateAddTrackToPlayListService()
        {
            var pLayListPostgreSqlAdapter = new PLayListPostgreSQLPersistenceAdapter();

            return(new AddTrackToPlayListService(pLayListPostgreSqlAdapter, eventPublisher));
        }
        public ArchivePlayListCommandHandler CreateArchivePlayListCommandHandler()
        {
            var pLayListDatabaseAdapter = new PLayListPostgreSQLPersistenceAdapter();

            return(new ArchivePlayListCommandHandler(pLayListDatabaseAdapter, eventPublisher));
        }