/// <summary> /// Delete Deduction /// </summary> /// <remarks> /// Deletes the deduction with the specified ID from the pay run. /// </remarks> public Task DeleteDeductionAsync(int businessId, int payRunId, DeleteDeductionQueryModel request, CancellationToken cancellationToken = default) { return(ApiRequestAsync($"/business/{businessId}/payrun/{payRunId}/deductions?id={request.Id}", Method.DELETE, cancellationToken)); }
/// <summary> /// Delete Deduction /// </summary> /// <remarks> /// Deletes the deduction with the specified ID from the pay run. /// </remarks> public void DeleteDeduction(int businessId, int payRunId, DeleteDeductionQueryModel request) { ApiRequest($"/business/{businessId}/payrun/{payRunId}/deductions?id={request.Id}", Method.DELETE); }