コード例 #1
0
 public CreateDisbursementNoteCommandHandler(ICostCentreRepository costCenterRepository, 
     IUserRepository userRepository,
     IDisbursementNoteRepository documentRepository, 
     IDocumentFactory documentFactory)
 {
    
     _costCenterRepository = costCenterRepository;
     _userRepository = userRepository;
     _documentFactory = documentFactory;
     _documentRepository = documentRepository;
 }
コード例 #2
0
 public CommandRoutingResolver(ICommandRoutingRepository commandRoutingRepository, ICostCentreApplicationRepository costCentreApplicationRepository, IOrderRepository orderRepository, IInventoryAdjustmentNoteRepository inventoryAdjustmentNoteRepository, IInventoryTransferNoteRepository inventoryTransferNoteRepository, IDispatchNoteRepository dispatchNoteRepository, IProducerRepository producerRepository, IInventoryReceivedNoteRepository inventoryReceivedNoteRepository, IReceiptRepository receiptRepository, IDisbursementNoteRepository disbursementNoteRepository, IReturnsNoteRepository returnsNoteRepository, IInvoiceRepository invoiceRepository)
 {
     _commandRoutingRepository = commandRoutingRepository;
     _costCentreApplicationRepository = costCentreApplicationRepository;
     _orderRepository = orderRepository;
     _inventoryAdjustmentNoteRepository = inventoryAdjustmentNoteRepository;
     _inventoryTransferNoteRepository = inventoryTransferNoteRepository;
     _dispatchNoteRepository = dispatchNoteRepository;
     _producerRepository = producerRepository;
     _inventoryReceivedNoteRepository = inventoryReceivedNoteRepository;
     _receiptRepository = receiptRepository;
     _disbursementNoteRepository = disbursementNoteRepository;
     _returnsNoteRepository = returnsNoteRepository;
     _invoiceRepository = invoiceRepository;
 }
コード例 #3
0
 public ShowDocumentController(IGenericDocumentRepository genericDocumentRepository, IOrderRepository orderRepository, IDispatchNoteRepository dispatchNoteRepository, IInventoryReceivedNoteRepository inventoryReceivedNoteRepository, IInvoiceRepository invoiceRepository, IReturnsNoteRepository returnsNoteRepository, IReceiptRepository receiptRepository, IInventoryAdjustmentNoteRepository inventoryAdjustmentNoteRepository, ICreditNoteRepository creditNoteRepository, IDisbursementNoteRepository disbursementNoteRepository, IPaymentNoteRepository paymentNoteRepository, ICommodityPurchaseRepository commodityPurchaseRepository, IInventoryTransferNoteRepository inventoryTransferNoteRepository)
 {
     _genericDocumentRepository = genericDocumentRepository;
     _orderRepository = orderRepository;
     _dispatchNoteRepository = dispatchNoteRepository;
     _inventoryReceivedNoteRepository = inventoryReceivedNoteRepository;
     _invoiceRepository = invoiceRepository;
     _returnsNoteRepository = returnsNoteRepository;
     _receiptRepository = receiptRepository;
     _inventoryAdjustmentNoteRepository = inventoryAdjustmentNoteRepository;
     _creditNoteRepository = creditNoteRepository;
     _disbursementNoteRepository = disbursementNoteRepository;
     _paymentNoteRepository = paymentNoteRepository;
     _commodityPurchaseRepository = commodityPurchaseRepository;
     _inventoryTransferNoteRepository = inventoryTransferNoteRepository;
 }
コード例 #4
0
 public GetDocumentReference(IReceiptRepository receiptService, IInvoiceRepository invoiceService, ICostCentreRepository costCentreService, IDispatchNoteRepository dispatchNoteService, IDisbursementNoteRepository disbursementNoteService, IInventoryTransferNoteRepository inventoryTransferNoteService, ICreditNoteRepository creditNoteService, IOrderRepository orderService, IReturnsNoteRepository returnsNoteService, ICommodityPurchaseRepository commodityPurchaseRepository, ICommodityReceptionRepository commodityReceptionRepository, ICommodityStorageRepository commodityStorageRepository, ISettingsRepository settingsRepository, ICommodityWarehouseStorageRepository commodityWarehouseStorageRepository, ICommodityReleaseRepository commodityReleaseRepository)
 {
     _receiptService = receiptService;
     _invoiceService = invoiceService;
     _costCentreService = costCentreService;
     
     _dispatchNoteService = dispatchNoteService;
     _disbursementNoteService = disbursementNoteService;
     _inventoryTransferNoteService = inventoryTransferNoteService;
     _creditNoteService = creditNoteService;
     _orderService = orderService;
     _returnsNoteService = returnsNoteService;
     _commodityPurchaseRepository = commodityPurchaseRepository;
     _commodityReceptionRepository = commodityReceptionRepository;
     _commodityStorageRepository = commodityStorageRepository;
     _settingsRepository = settingsRepository;
     _commodityWarehouseStorageRepository = commodityWarehouseStorageRepository;
     _commodityReleaseRepository = commodityReleaseRepository;
 }
コード例 #5
0
 public ConfirmDisbursementNoteCommandHandler(IDisbursementNoteRepository documentRepository, IInventoryWorkflow inventoryWorkflow)
 {
     _documentRepository = documentRepository;
     _inventoryWorkflow = inventoryWorkflow;
 }