public IActionResult Put([FromBody] PersonUpdateCommand command) { return(Ok(_handlerUpdate.Handle(command))); }
public IActionResult Post([FromBody] DocumentCreateCommand command) { return(Ok(_handler.Handle(command))); }
public IActionResult Post([FromBody] PersonCreateCommand command) { return(Ok(_handlerCreate.Handle(command))); }