public List <tb_qtxs> Find(tb_qtxs p) { string res = http.Get(GetUrl(RequestEnum.tb_qtxs), p).ReadAsStringAsync().Result; return(res.ToDeserialize <List <tb_qtxs> >()); }
public int Delete(tb_qtxs p) { string res = http.Delete(GetUrl(RequestEnum.tb_qtxs), p).ReadAsStringAsync().Result; return(res.ToDeserialize <int>()); }
public int Update(tb_qtxs p) { string res = http.Put(GetUrl(RequestEnum.tb_qtxs), p).ReadAsStringAsync().Result; return(res.ToSerializer <int>()); }
public int Delete(tb_qtxs parameter) { tb_qtxsBLL bll = new tb_qtxsBLL(); return(bll.Delete(parameter)); }
public int Put([FromBody] tb_qtxs parameter) { tb_qtxsBLL bll = new tb_qtxsBLL(); return(bll.Update(parameter)); }
public int Post([FromBody] tb_qtxs parameter) { tb_qtxsBLL bll = new tb_qtxsBLL(); return(bll.Add(parameter)); }
public IEnumerable <tb_qtxs> Get(tb_qtxs parameter) { tb_qtxsBLL bll = new tb_qtxsBLL(); return(bll.Find(parameter)); }