/// <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)); }
/// <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); }