コード例 #1
0
 public int SendMailWhenAuditPurchaseOrder(PurchaseOrderSendMailReq request)
 {
     if (null != request)
     {
         return(ObjectFactory <PurchaseOrderAppService> .Instance.SendMailWhenAuditPurchaseOrder(request.MailContent, request.PurchaseOrderSysNo.Value, request.MailAddress));
     }
     else
     {
         return(-1);
     }
 }
コード例 #2
0
        public void SendMailWhenAuditPurchaseOrder(PurchaseOrderSendMailReq request, EventHandler <RestClientEventArgs <int> > callback)
        {
            string relativeUrl = "POService/PurchaseOrder/SendMailWhenAuditPurchaseOrder";

            restClient.Update <int>(relativeUrl, request, callback);
        }