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