public void Handle(ChargeCreditCard message) { var reciept = CreditCardService.Charge(message.CustomerId, message.Amount); Bus.Reply(new CreditCardCharged { CustomerId = message.CustomerId, Receipt = reciept }); }
public void Handle(ChargeCreditCard message) { var reciept = CreditCardService.Charge(message.CustomerId, message.Amount); Bus.Reply(new CreditCardCharged { CustomerId = message.CustomerId, Receipt = reciept }); }