public HttpResponseMessage DeleteShopping(int ID) { try { Shopping Bll = new Shopping(); var Data = Bll.DeleteShooping(ID); return(Request.CreateResponse(HttpStatusCode.OK, Data)); } catch (Exception ex) { return(Request.CreateResponse(HttpStatusCode.InternalServerError, ex.Message)); } }