Exemplo n.º 1
0
 public async Task <ActionResult <Users> > Post([FromBody] CustomerCreatedCommand value)
 {
     _handler.HandleCustomerCreated(value);
     return(Ok());
 }
Exemplo n.º 2
0
 public void HandleCommand(ICustomerCommand command)
 {
     _handler.HandleCustomerCreated(command);
 }