Esempio n. 1
0
        public List <Order> GetOrder(string id)
        {
            int orderId = Convert.ToInt16(id);

            return(BusinessLogic.GetOrder(orderId));
        }
Esempio n. 2
0
 public List <Order> ListOrdersBy(string name)
 {
     return(BusinessLogic.ListOrdersBy(name));
 }
Esempio n. 3
0
 public List <Size> ListSize()
 {
     return(BusinessLogic.ListSize());
 }
Esempio n. 4
0
        public void DeleteOrder(string id)
        {
            int orderId = Convert.ToInt16(id);

            BusinessLogic.DeleteOrder(orderId);
        }
Esempio n. 5
0
 public void UpdateOrder(WCF_Order_Contract order)
 {
     BusinessLogic.UpdateOrder(order.OrderID, order.FoodID, order.Size, order.Chilli, order.Salt, order.Pepper);
 }
Esempio n. 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);
 }
Esempio n. 7
0
 public List <Food> ListFood()
 {
     return(BusinessLogic.ListFood());
 }
Esempio n. 8
0
        public string GetFood(string id)
        {
            int foodId = Convert.ToInt16(id);

            return(BusinessLogic.GetFood(foodId));
        }