public IActionResult ConfirmOrder(Order order) { order = _basketService.CheckOut(order); if (order.ID.IsNotNullAndWhiteSpace()) { return(RedirectToAction("Pay", "AliPay", new { orderId = order.ID })); } return(Redirect("~/")); }