public MostPopularAlbumsPrimaryPort( IOrmSecondaryPort secondaryPort, ILoggerPort logger) { this.secondaryPort = secondaryPort; this.logger = logger; this.appService = new MostPopularAlbumsApplicationService(new AlbumsSearchService(secondaryPort), logger); }
public MostPopularAlbumsApplicationService( AlbumsSearchService searchService, ILoggerPort logger) { this.domainService = new AlbumDomainService(searchService); }