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