public async Task <ActionResult <IdField> > Create([FromBody] OrderInputModel data) { var command = _commandBuilder.BuildAddOrderCommand(data); var orderId = await _commandDispatcher.ExecuteAsync(command).ConfigureAwait(false); return(StatusCode(StatusCodes.Status201Created, new IdField { Id = orderId })); }