public ActionResult DeleteConfirmed(int id) { OrderEntity orderEntity = db.Find(id); db.Remove(orderEntity); return(RedirectToAction("Index")); }