Beispiel #1
0
        public int Delete(tb_yuding p)
        {
            string res = http.Delete(GetUrl(RequestEnum.tb_yuding), p).ReadAsStringAsync().Result;

            return(res.ToSerializer <int>());
        }
Beispiel #2
0
        public List <tb_yuding> Find(tb_yuding p)
        {
            string res = http.Get(new Uri(GetUrl(RequestEnum.tb_yuding)), p).ReadAsStringAsync().Result;

            return(res.ToSerializer <List <tb_yuding> >());
        }