Пример #1
0
        public ActionResult Show(int tableOrderId)
        {
            TableOrder foundOrder             = TableOrder.Find(tableOrderId);
            Dictionary <string, object> model = new Dictionary <string, object>();

            model["order"]        = foundOrder;
            model["order_dishes"] = foundOrder.GetAllDishes();
            model["all_dishes"]   = foundOrder.GetPotentialDishes();//Dish.GetAll();
            return(View(model));
        }