public void Handle(CreateUser command) { Console.WriteLine("Creating user {0}.", command.Name); var user = User.Create(command.Id, command.Name, command.Age); _store.Commit(user).Wait(); }
public void Handle(CreateUser command) { var user = User.Create(command.Id, command.Name, command.Age); _store.Commit(user).Wait(); }