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