Exemplo n.º 1
0
 public void On(ISubscriptionContext <string> context, BankAccountCreated evt)
 {
     Accounts.Add(evt.AccountId);
 }
Exemplo n.º 2
0
 public void On(ISubscriptionContext <Guid> context, BankAccountCreated evt)
 {
     Owner = evt.UserId;
 }