// // GET: /Checkout/Complete public ActionResult Complete(int id) { // Validate customer owns this order var isValid = _orderAppService.Find( o => o.OrderId == id && o.Username == User.Identity.Name) .Any(); return(isValid ? View(id) : View("Error")); }