Пример #1
0
        public int Delete(tb_goods parameter)
        {
            tb_goodsBLL bll = new tb_goodsBLL();

            return(bll.Delete(parameter));
        }
Пример #2
0
        public int Post([FromBody] List <tb_goods> parameter)
        {
            tb_goodsBLL bll = new tb_goodsBLL();

            return(bll.Add(parameter));
        }
Пример #3
0
        public int Put([FromBody] tb_goods parameter)
        {
            tb_goodsBLL bll = new tb_goodsBLL();

            return(bll.Update(parameter));
        }
Пример #4
0
        public IEnumerable <tb_goods> Get(tb_goods parameter)
        {
            tb_goodsBLL bll = new tb_goodsBLL();

            return(bll.Find(parameter));
        }