Beispiel #1
0
 /// <summary>
 /// PUT api/SalesReceipts/{id}/Imported/{value}
 /// Updates the Imported property of the sales receipt.
 /// </summary>
 public async Task <bool> UpdateAsync(int salesReceiptId, ImportedStateEnum importedState)
 {
     return(await PutAsync <bool>(ResourceUrl + "/" + salesReceiptId + "/" + (int)importedState));
 }
Beispiel #2
0
 /// <summary>
 /// PUT api/SalesReceipts/{id}/Imported/{value}
 /// Updates the Imported property of the sales receipt.
 /// </summary>
 public bool Update(int salesReceiptId, ImportedStateEnum importedState)
 {
     return(Put <bool>(ResourceUrl + "/" + salesReceiptId + "/" + (int)importedState));
 }