/// <summary> /// Constructor with dependency injection for IOC and controller singleton control. /// </summary> /// <param name="paymentsService"></param> public LightningController(ILightningPayments paymentsService) { this.paymentsService = paymentsService; }
/// <summary> /// Constructor with dependency injection for IOC and controller singleton control. /// </summary> /// <param name="paymentsService"></param> public LightningController(ILightningPayments paymentsService) { this.PaymentsService = paymentsService; this.HexEncoder = new LightningLib.DataEncoders.HexEncoder(); }