/// <summary> /// Reorders the specified order. /// </summary> /// <param name="orderId">The order identifier.</param> /// <returns>ActionResult.</returns> /// <exception cref="System.UnauthorizedAccessException"></exception> public ActionResult Reorder(string orderId) { var order = _orderClient.GetCustomerOrder(UserHelper.CustomerSession.CustomerId, orderId); if (order == null || String.IsNullOrEmpty(order.CustomerId)) { throw new UnauthorizedAccessException(); } var ch = new CartHelper(CartHelper.CartName); ch.ToCart(order); return RedirectToAction("Index", "Checkout"); }