示例#1
0
 public async Task <PurchaseOrder> SavePurchaseOrder(PurchaseOrder pPurchaseOrder)
 {
     if (pPurchaseOrder.Id == Guid.Empty)
     {
         return(await mAsyncCLient.AddPurchaseOrderAsync(pPurchaseOrder));
     }
     return(await mAsyncCLient.EditPurchaseOrderAsync(pPurchaseOrder));
 }
示例#2
0
 public PurchaseOrder EditPurchaseOrder(PurchaseOrder pPurchaseOrder) =>
 mBlue10Async.EditPurchaseOrderAsync(pPurchaseOrder).Sync();