Beispiel #1
0
 public StockService(IStockRepository stockRepository,
                     IProductTransactionRepository productTransactionRepository,
                     IMaterialTransactionRepository materialTransactionRepository,
                     IToolsTransactionRepository toolsTransactionRepository,
                     ITransactionTypeRepository transactionTypeRepository)
 {
     this.stockRepository = stockRepository;
     this.productTransactionRepository  = productTransactionRepository;
     this.materialTransactionRepository = materialTransactionRepository;
     this.toolsTransactionRepository    = toolsTransactionRepository;
     this.transactionTypeRepository     = transactionTypeRepository;
 }
 public MaterialService(IMaterialRepository materialRepository, IMaterialTransactionRepository materialTransactionRepository)
 {
     this.materialRepository            = materialRepository;
     this.materialTransactionRepository = materialTransactionRepository;
 }