public List <Order> GetOrder(string id) { int orderId = Convert.ToInt16(id); return(BusinessLogic.GetOrder(orderId)); }
public List <Order> ListOrdersBy(string name) { return(BusinessLogic.ListOrdersBy(name)); }
public List <Size> ListSize() { return(BusinessLogic.ListSize()); }
public void DeleteOrder(string id) { int orderId = Convert.ToInt16(id); BusinessLogic.DeleteOrder(orderId); }
public void UpdateOrder(WCF_Order_Contract order) { BusinessLogic.UpdateOrder(order.OrderID, order.FoodID, order.Size, order.Chilli, order.Salt, order.Pepper); }
public void AddOrder(WCF_Order_Contract order) { BusinessLogic.AddOrder(order.User, order.FoodID, order.FoodName, order.Size, order.Chilli, order.Salt, order.Pepper); }
public List <Food> ListFood() { return(BusinessLogic.ListFood()); }
public string GetFood(string id) { int foodId = Convert.ToInt16(id); return(BusinessLogic.GetFood(foodId)); }