Ejemplo n.º 1
0
        public async Task <BaseResponse <StoringResponse> > DeleteItem(DeleteRequest param)
        {
            var uri     = http.GetUri("item", param.AsDictionary());
            var request = new HttpRequestMessage(HttpMethod.Delete, uri);
            var res     = await http.SendAsync(request);

            var a = res.Content.ReadAsStringAsync().Result;

            return(JsonConvert.DeserializeObject <BaseResponse <StoringResponse> >(a));
        }