Exemplo n.º 1
0
        public ActionResult Delete(int tableOrderId, int dishId)
        {
            Console.WriteLine(" Delete: {0} {1}", tableOrderId, dishId);
            TableOrder foundOrder = TableOrder.Find(tableOrderId);

            foundOrder.DeleteDish(dishId);
            return(RedirectToAction("Show"));
        }