示例#1
0
        public JArray GetDrinksPOByToDay()
        {
            DataSet ds = DrinksPOHandler.GetDrinksPOByToDay();

            return(CommonHandler.TransferArrayFromDS(ds));
        }
示例#2
0
        public JArray ListDrinksPOByWeek(int week)
        {
            DataSet ds = DrinksPOHandler.ListDrinksPOByWeek(week);

            return(CommonHandler.TransferArrayFromDS(ds));
        }
        public JArray ListDrinksPOByPage(int index, int pageSize)
        {
            DataSet ds = DrinksPOHandler.ListDrinksPOByPage(index, pageSize);

            return(CommonHandler.TransferArrayFromDS(ds));
        }
 public bool Delete(int id)
 {
     return(DrinksPOHandler.DeleteDrinksPO(id));
 }
 public bool UpdateDrinksPO([FromBody] DrinksPO po)
 {
     return(DrinksPOHandler.UpdateDrinksPO(po));
 }
 public bool AddDrinksPO([FromBody] DrinksPO po)
 {
     return(DrinksPOHandler.AddDrinksPO(po));
 }