Ejemplo n.º 1
0
        public int Delete(tb_goodsCG parameter)
        {
            tb_goodsCGBLL bll = new tb_goodsCGBLL();

            return(bll.Delete(parameter));
        }
Ejemplo n.º 2
0
        public int Post([FromBody] List <tb_goodsCG> parameter)
        {
            tb_goodsCGBLL bll = new tb_goodsCGBLL();

            return(bll.Add(parameter));
        }
Ejemplo n.º 3
0
        public int Put([FromBody] tb_goodsCG parameter)
        {
            tb_goodsCGBLL bll = new tb_goodsCGBLL();

            return(bll.Update(parameter));
        }
Ejemplo n.º 4
0
        public IEnumerable <tb_goodsCG> Get(tb_goodsCG parameter)
        {
            tb_goodsCGBLL bll = new tb_goodsCGBLL();

            return(bll.Find(parameter));
        }