示例#1
0
 /// <summary>
 /// Save Leave Accruals
 /// </summary>
 /// <remarks>
 /// Saves a set of leave accruals for the pay run.
 /// </remarks>
 public Task SaveLeaveAccrualsAsync(int businessId, int payRunId, SubmitLeaveAccrualsModel model, CancellationToken cancellationToken = default)
 {
     return(ApiRequestAsync($"/business/{businessId}/payrun/{payRunId}/leaveaccrued", model, Method.POST, cancellationToken));
 }
示例#2
0
 /// <summary>
 /// Save Leave Accruals
 /// </summary>
 /// <remarks>
 /// Saves a set of leave accruals for the pay run.
 /// </remarks>
 public void SaveLeaveAccruals(int businessId, int payRunId, SubmitLeaveAccrualsModel model)
 {
     ApiRequest($"/business/{businessId}/payrun/{payRunId}/leaveaccrued", model, Method.POST);
 }