Пример #1
0
        public List <Order> GetOrder(string id)
        {
            int orderId = Convert.ToInt16(id);

            return(BusinessLogic.GetOrder(orderId));
        }
Пример #2
0
 public List <Order> ListOrdersBy(string name)
 {
     return(BusinessLogic.ListOrdersBy(name));
 }
Пример #3
0
 public List <Size> ListSize()
 {
     return(BusinessLogic.ListSize());
 }
Пример #4
0
        public void DeleteOrder(string id)
        {
            int orderId = Convert.ToInt16(id);

            BusinessLogic.DeleteOrder(orderId);
        }
Пример #5
0
 public void UpdateOrder(WCF_Order_Contract order)
 {
     BusinessLogic.UpdateOrder(order.OrderID, order.FoodID, order.Size, order.Chilli, order.Salt, order.Pepper);
 }
Пример #6
0
 public void AddOrder(WCF_Order_Contract order)
 {
     BusinessLogic.AddOrder(order.User, order.FoodID, order.FoodName, order.Size, order.Chilli, order.Salt, order.Pepper);
 }
Пример #7
0
 public List <Food> ListFood()
 {
     return(BusinessLogic.ListFood());
 }
Пример #8
0
        public string GetFood(string id)
        {
            int foodId = Convert.ToInt16(id);

            return(BusinessLogic.GetFood(foodId));
        }