public CreateBookInteractor(
     IBookReadOnlyRepository bookReadOnlyRepository,
     IBookWriteOnlyRepository bookWriteOnlyRepository,
     IOutputBoundary <BookOutput> outputBoundary,
     IOutputConverter outputConverter)
 {
     this.bookReadOnlyRepository  = bookReadOnlyRepository;
     this.bookWriteOnlyRepository = bookWriteOnlyRepository;
     this.outputBoundary          = outputBoundary;
     this.outputConverter         = outputConverter;
 }
Beispiel #2
0
 public RemoveBookInteractor(
     IBookReadOnlyRepository bookReadOnlyRepository,
     IBookWriteOnlyRepository bookWriteOnlyRepository,
     IBasketReadOnlyRepository basketReadOnlyRepository,
     IBasketWriteOnlyRepository basketWriteOnlyRepository,
     IOutputBoundary <RemoveBookOutput> outputBoundary,
     IOutputConverter outputConverter)
 {
     this.bookReadOnlyRepository    = bookReadOnlyRepository;
     this.bookWriteOnlyRepository   = bookWriteOnlyRepository;
     this.basketReadOnlyRepository  = basketReadOnlyRepository;
     this.basketWriteOnlyRepository = basketWriteOnlyRepository;
     this.outputBoundary            = outputBoundary;
     this.outputConverter           = outputConverter;
 }