예제 #1
0
 /// <summary>
 /// Update Employee Deduction
 /// </summary>
 /// <remarks>
 /// Updates the employee's recurring deduction with the specified ID.
 /// </remarks>
 public Task <AuEmployeeRecurringDeductionModel> UpdateEmployeeDeductionAsync(int businessId, int employeeId, int id, AuEmployeeRecurringDeductionModel model, CancellationToken cancellationToken = default)
 {
     return(ApiRequestAsync <AuEmployeeRecurringDeductionModel, AuEmployeeRecurringDeductionModel>($"/business/{businessId}/employee/{employeeId}/deduction/{id}", model, Method.PUT, cancellationToken));
 }
예제 #2
0
 /// <summary>
 /// Update Employee Deduction
 /// </summary>
 /// <remarks>
 /// Updates the employee's recurring deduction with the specified ID.
 /// </remarks>
 public AuEmployeeRecurringDeductionModel UpdateEmployeeDeduction(int businessId, int employeeId, int id, AuEmployeeRecurringDeductionModel model)
 {
     return(ApiRequest <AuEmployeeRecurringDeductionModel, AuEmployeeRecurringDeductionModel>($"/business/{businessId}/employee/{employeeId}/deduction/{id}", model, Method.PUT));
 }