Ejemplo n.º 1
0
 /// <summary>
 /// POST api/IssuedDocumentPayments
 /// Create new payment. Payment should contains id of payed document.
 /// </summary>
 public IssuedDocumentPayment Create(IssuedDocumentPaymentCreate invoice)
 {
     return(Post <IssuedDocumentPayment, IssuedDocumentPaymentCreate>(ResourceUrl, invoice));
 }
 /// <summary>
 /// POST api/IssuedDocumentPayments
 /// Create new payment. Payment should contains id of payed document.
 /// </summary>
 public async Task <IssuedDocumentPayment> CreateAsync(IssuedDocumentPaymentCreate invoice)
 {
     return(await PostAsync <IssuedDocumentPayment, IssuedDocumentPaymentCreate>(ResourceUrl, invoice));
 }