Пример #1
0
 public async Task <PaymentTerm> SavePaymentTerm(PaymentTerm pPaymentTerm)
 {
     if (pPaymentTerm.Id == Guid.Empty)
     {
         return(await mAsyncCLient.AddPaymentTermAsync(pPaymentTerm));
     }
     return(await mAsyncCLient.EditPaymentTermAsync(pPaymentTerm));
 }
Пример #2
0
 public PaymentTerm AddPaymentTerm(PaymentTerm pPaymentTerm) => mBlue10Async.AddPaymentTermAsync(pPaymentTerm).Sync();