Exemplo n.º 1
0
 public async Task <BankAccountStateMachineData> Withdraw(BankAccountStateMachineAmount amount)
 => await ProcessMessage(BankAccountStateMachineMessage.NewWithdrawMessage(amount));
Exemplo n.º 2
0
 public async Task <BankAccountStateMachineData> Deposit(BankAccountStateMachineAmount amount)
 => await ProcessMessage(BankAccountStateMachineMessage.NewDepositMessage(amount));