Ejemplo n.º 1
0
        public CreatePlayListService CreateCreatePlayListService()
        {
            var pLayListDatabaseAdapter          = new PLayListPostgreSQLPersistenceAdapter();
            var uniqueIdentifiersInMemoryAdapter = new UniqueIdentifiersInMemoryAdapter();

            return(new CreatePlayListService(uniqueIdentifiersInMemoryAdapter, pLayListDatabaseAdapter, eventPublisher));
        }
Ejemplo n.º 2
0
        public RemoveTrackFromPLayListService CreateRemoveTrackFromPLayListService()
        {
            var pLayListPostgreSqlAdapter = new PLayListPostgreSQLPersistenceAdapter();
            var tracksNotifierAdapter     = new TraksSpotifyApiAdapter();

            return(new RemoveTrackFromPLayListService(pLayListPostgreSqlAdapter, tracksNotifierAdapter));
        }
Ejemplo n.º 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));
        }
Ejemplo n.º 8
0
        public AddImageUrlToPlayListService CreateAddImageUrlPlayListService()
        {
            var pLayListDatabaseAdapter = new PLayListPostgreSQLPersistenceAdapter();

            return(new AddImageUrlToPlayListService(pLayListDatabaseAdapter, eventPublisher));
        }
Ejemplo n.º 9
0
        public RenamePlayListService CreateRenamePlayListService()
        {
            var pLayListDatabaseAdapter = new PLayListPostgreSQLPersistenceAdapter();

            return(new RenamePlayListService(pLayListDatabaseAdapter, eventPublisher));
        }
Ejemplo n.º 10
0
        public RemoveTrackFromPLayListService CreateRemoveTrackFromPLayListService()
        {
            var pLayListPostgreSqlAdapter = new PLayListPostgreSQLPersistenceAdapter();

            return(new RemoveTrackFromPLayListService(pLayListPostgreSqlAdapter, eventPublisher));
        }
Ejemplo n.º 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));
        }