public SupplyChainService( IMedicineBatchRepository medicineBatchRepository, IMedicineBatchTransferRepository medicineBatchTransferRepository) { this.medicineBatchRepository = medicineBatchRepository; this.medicineBatchTransferRepository = medicineBatchTransferRepository; }
public MedicineBatchTransferBackgroundJob( IEthereumService ethereumService, IMedicineBatchTransferRepository medicineBatchTransferRepository) { this.ethereumService = ethereumService; this.medicineBatchTransferRepository = medicineBatchTransferRepository; }
public MedicineBatchTransferService( IMedicineBatchRepository medicineBatchRepository, IMedicineBatchTransferRepository medicineBatchTransferRepository, IEthereumService ethereumService, IOptions <EthereumSettings> options) { this.medicineBatchRepository = medicineBatchRepository; this.medicineBatchTransferRepository = medicineBatchTransferRepository; this.ethereumService = ethereumService; MedicineBatchTransferAbi = options.Value.MedicineBatchTransferAbi; }