コード例 #1
0
		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();
		}
コード例 #2
0
		public void Handle(CreateUser command)
		{
			var user = User.Create(command.Id, command.Name, command.Age);
			_store.Commit(user).Wait();
		}