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