示例#1
0
 /// <summary>
 /// Terminate Employee in Pay Run
 /// </summary>
 /// <remarks>
 /// Terminates an employee in the specified pay run.
 /// </remarks>
 public Task TerminateEmployeeInPayRunAsync(int businessId, int payRunId, TerminateEmployeeRequest request, CancellationToken cancellationToken = default)
 {
     return(ApiRequestAsync($"/business/{businessId}/payrun/{payRunId}/terminate", request, Method.POST, cancellationToken));
 }
示例#2
0
 /// <summary>
 /// Terminate Employee in Pay Run
 /// </summary>
 /// <remarks>
 /// Terminates an employee in the specified pay run.
 /// </remarks>
 public void TerminateEmployeeInPayRun(int businessId, int payRunId, TerminateEmployeeRequest request)
 {
     ApiRequest($"/business/{businessId}/payrun/{payRunId}/terminate", request, Method.POST);
 }