public bool deleteItem(CartItems item)
 {
     BusinessLogic.RequestCartController BL = new BusinessLogic.RequestCartController();
     if (BL.deleteItem(item))
     {
         OutgoingWebResponseContext response = WebOperationContext.Current.OutgoingResponse;
         response.StatusCode = HttpStatusCode.OK;
         return(true);
     }
     else
     {
         OutgoingWebResponseContext response = WebOperationContext.Current.OutgoingResponse;
         response.StatusCode = HttpStatusCode.NotFound;
         return(false);
     }
 }
 public bool deleteItem(CartItems item)
 {
     BusinessLogic.RequestCartController BL = new BusinessLogic.RequestCartController();
     if (BL.deleteItem(item))
     {
         OutgoingWebResponseContext response = WebOperationContext.Current.OutgoingResponse;
         response.StatusCode = HttpStatusCode.OK;
         return true;
     }
     else
     {
         OutgoingWebResponseContext response = WebOperationContext.Current.OutgoingResponse;
         response.StatusCode = HttpStatusCode.NotFound;
         return false;
     }
 }