protected override void OnStop() { ValidateCodeline.Stop(); ValidateTransaction.Stop(); CheckThirdParty.Stop(); CorrectCodeline.Stop(); CorrectTransaction.Stop(); GenerateVoucher.Stop(); GetVoucher.Stop(); }
protected override void OnStart(string[] args) { Log.Information("Dips Service Started"); ValidateCodeline.Start(); ValidateTransaction.Start(); CheckThirdParty.Start(); CorrectCodeline.Start(); CorrectTransaction.Start(); GenerateVoucher.Start(); GetVoucher.Start(); }