public async Task <ActionResult <IEnumerable <Guid> > > PostOrdersAsync([FromBody] IEnumerable <Order> orders) { orders = await orderManager.AcceptOrdersAsync(orders); var orderIds = orders.Select(order => order.Id); var result = Ok(orderIds); return(result); }