Esempio n. 1
0
 public void RemoveDisplayOrder(HttpListenerContext context)
 {
     try
     {
         com.clover.remote.order.DisplayOrder order = ParseRequest <com.clover.remote.order.DisplayOrder>(context);
         GetServer.CloverConnector.RemoveDisplayOrder(order);
         this.SendTextResponse(context, "");
     }
     catch (Exception e)
     {
         context.Response.StatusCode        = 400;
         context.Response.StatusDescription = e.Message;
         this.SendTextResponse(context, "error processing request");
     }
 }
 public void RemoveDisplayOrder(HttpListenerContext context)
 {
     com.clover.remote.order.DisplayOrder order = ParseRequest <com.clover.remote.order.DisplayOrder>(context);
     GetServer.CloverConnector.RemoveDisplayOrder(order);
     this.SendTextResponse(context, "");
 }