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

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

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

            return(BusinessLogic.GetFood(foodId));
        }