예제 #1
0
 public IActionResult Put([FromBody] PersonUpdateCommand command)
 {
     return(Ok(_handlerUpdate.Handle(command)));
 }
예제 #2
0
 public IActionResult Post([FromBody] DocumentCreateCommand command)
 {
     return(Ok(_handler.Handle(command)));
 }
예제 #3
0
 public IActionResult Post([FromBody] PersonCreateCommand command)
 {
     return(Ok(_handlerCreate.Handle(command)));
 }