Exemplo n.º 1
0
 public void Handle(AccountRegistered @event)
 {
     Console.Write("account({0}) registered at {1}", @event.AccountID, @event.UserName);
     _commandBus.Add(new Login {
         UserName = "******", Password = "******"
     });
 }