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