public int Delete(tb_goodsCG parameter) { tb_goodsCGBLL bll = new tb_goodsCGBLL(); return(bll.Delete(parameter)); }
public int Post([FromBody] List <tb_goodsCG> parameter) { tb_goodsCGBLL bll = new tb_goodsCGBLL(); return(bll.Add(parameter)); }
public int Put([FromBody] tb_goodsCG parameter) { tb_goodsCGBLL bll = new tb_goodsCGBLL(); return(bll.Update(parameter)); }
public IEnumerable <tb_goodsCG> Get(tb_goodsCG parameter) { tb_goodsCGBLL bll = new tb_goodsCGBLL(); return(bll.Find(parameter)); }