public async Task <ActionResult> OrderBidsFromCart(List <Bid> bids) { int[] bidIds = bids.Select(bid => bid.BidId).ToArray(); await bidService.OrderBidsFromCart(bidIds); return(Ok(new { message = "ordered" })); }