Ejemplo n.º 1
0
 public Task <IActionResult> CreateNew(string name) =>
 _commandHandler.Execute(new CreateUser(UserId.Of(name))).ToActionResult();