public ImportBookFacadeService( IRepository <ImportBook, int> repository, ITransactionManager transactionManager, IImportBookService importBookService) : base(repository, transactionManager) { this.importBookService = importBookService; }
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); }
public ImportBookExchangeRateService( IRepository <ImportBookExchangeRate, ImportBookExchangeRateKey> repository, IImportBookService importBookService) { this.importBookService = importBookService; }