public ActionResult CancelTransaction(Transaction transaction) { if (ModelState.IsValid) { TransactionHandler.CancelTransaction(transaction); } return(RedirectToAction("Index", "Home")); }