Beispiel #1
0
        public ActionResult DeleteConfirmed(int id)
        {
            OrderEntity orderEntity = db.Find(id);

            db.Remove(orderEntity);

            return(RedirectToAction("Index"));
        }