Beispiel #1
0
 /// <summary>
 /// Set Leave Allowances
 /// </summary>
 /// <remarks>
 /// Sets the leave allowances for the specified employees (dictionary keyed by employee ID).
 /// </remarks>
 public AuLeaveAllowanceModel SetLeaveAllowances(int businessId, AuLeaveAllowancesRequest request)
 {
     return(ApiRequest <AuLeaveAllowanceModel, AuLeaveAllowancesRequest>($"/business/{businessId}/leaveallowances", request, Method.PUT));
 }
Beispiel #2
0
 /// <summary>
 /// Set Leave Allowances
 /// </summary>
 /// <remarks>
 /// Sets the leave allowances for the specified employees (dictionary keyed by employee ID).
 /// </remarks>
 public Task <AuLeaveAllowanceModel> SetLeaveAllowancesAsync(int businessId, AuLeaveAllowancesRequest request, CancellationToken cancellationToken = default)
 {
     return(ApiRequestAsync <AuLeaveAllowanceModel, AuLeaveAllowancesRequest>($"/business/{businessId}/leaveallowances", request, Method.PUT, cancellationToken));
 }