示例#1
0
        public int Put([FromBody] tb_power parameter)
        {
            tb_powerBLL bll = new tb_powerBLL();

            return(bll.Update(parameter));
        }
示例#2
0
        public IEnumerable <tb_power> Get(tb_power parameter)
        {
            tb_powerBLL bll = new tb_powerBLL();

            return(bll.Find(parameter));
        }
示例#3
0
        public int Post([FromBody] List <tb_power> parameter)
        {
            tb_powerBLL bll = new tb_powerBLL();

            return(bll.Add(parameter));
        }
示例#4
0
        public int Delete(tb_power parameter)
        {
            tb_powerBLL bll = new tb_powerBLL();

            return(bll.Delete(parameter));
        }