public async Task <ActionResult> PostOrderAsync([FromBody] Order order, string robotId = null) { order = await orderManager.AcceptOrderAsync(order, robotId); var result = new OkObjectResult(order); return(result); }