コード例 #1
0
        public IActionResult DrinkAdd(int id, int ticket)
        {
            OrderInfo newOrder = new OrderInfo();

            newOrder.FindDrink(id);
            Orders order = new Orders(ticket, 0, id);

            order.Create();

            return(PartialView("DrinksAdd", newOrder.FoundDrink));
        }