[WebInvoke(Method = "POST", UriTemplate = "deleterefund")]         //tempurl
 public void DeleteRefund(Refund refund)
 {
     try
     {
         refund.DeleteRefund();
     }
     catch (Exception ex)
     {
         ErrorMessageInterceptor.ThrowError(HttpStatusCode.Forbidden, ex.Message);
     }
 }
Exemplo n.º 2
0
 [UriMapping(Method = "POST", Template = "tools/deleterefund", BodyParameter = "refund")]         //tempurl
 public void DeleteRefund(Refund refund)
 {
     refund.DeleteRefund();
 }