public async Task <IActionResult> Post(CreateCustomer command) => await SendAsync(command.Bind(c => c.Id, UserId), resourceId : command.Id, resource : "customers");
public async Task <IActionResult> Post([FromBody] CreateCustomer command) => await DispatchAsync(command.Bind(c => c.Id, UserId), resourceId : command.Id, resource : "customers");