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();
		}