Ejemplo n.º 1
0
 public ImportBookFacadeService(
     IRepository <ImportBook, int> repository,
     ITransactionManager transactionManager,
     IImportBookService importBookService)
     : base(repository, transactionManager)
 {
     this.importBookService = importBookService;
 }
Ejemplo n.º 2
0
 public void SetUpContext()
 {
     this.ImportBookRepository = Substitute.For <IRepository <ImportBook, int> >();
     this.TransactionManager   = Substitute.For <ITransactionManager>();
     this.DomainService        = Substitute.For <IImportBookService>();
     this.Sut = new ImportBookFacadeService(
         this.ImportBookRepository,
         this.TransactionManager,
         this.DomainService);
 }
Ejemplo n.º 3
0
 public ImportBookExchangeRateService(
     IRepository <ImportBookExchangeRate, ImportBookExchangeRateKey> repository,
     IImportBookService importBookService)
 {
     this.importBookService = importBookService;
 }