Esempio n. 1
0
 /// <summary>
 /// Delete Earnings Line
 /// </summary>
 /// <remarks>
 /// Deletes the earnings with the specified ID from the pay run.
 /// </remarks>
 public Task DeleteEarningsLineAsync(int businessId, int payRunId, DeleteEarningsLineQueryModel request, CancellationToken cancellationToken = default)
 {
     return(ApiRequestAsync($"/business/{businessId}/payrun/{payRunId}/earningslines?id={request.Id}", Method.DELETE, cancellationToken));
 }
Esempio n. 2
0
 /// <summary>
 /// Delete Earnings Line
 /// </summary>
 /// <remarks>
 /// Deletes the earnings with the specified ID from the pay run.
 /// </remarks>
 public void DeleteEarningsLine(int businessId, int payRunId, DeleteEarningsLineQueryModel request)
 {
     ApiRequest($"/business/{businessId}/payrun/{payRunId}/earningslines?id={request.Id}", Method.DELETE);
 }