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