Ejemplo n.º 1
0
 public void RemoveSale(string key = "", int customerID = 0, int partID = 0, decimal price = 0)
 {
     try {
         CustomerPricing pricing = new CustomerPricing {
             cust_id = customerID,
             partID = partID,
             price = price,
             isSale = 1
         };
         pricing.RemoveSale(key);
         Response.ContentType = "application/json";
         Response.Write("");
         Response.End();
     } catch (Exception e) {
         Response.ContentType = "application/json";
         Response.Write(JsonConvert.SerializeObject(e.Message, Formatting.Indented));
         Response.End();
     }
 }