public ActionResult DeleteOrderedProduct(int id, FormCollection collection) { try { // TODO: Add delete logic here orderLogic.DeleteOrderedProduct(id); return(RedirectToAction("IndexOrderedProduct")); } catch { return(View()); } }