Esempio n. 1
0
 /// <summary>
 /// Delete Employee Expense
 /// </summary>
 /// <remarks>
 /// Deletes the employee expense with the specified ID from the pay run.
 /// </remarks>
 public Task DeleteEmployeeExpenseAsync(int businessId, int payRunId, DeleteEmployeeExpenseQueryModel request, CancellationToken cancellationToken = default)
 {
     return(ApiRequestAsync($"/business/{businessId}/payrun/{payRunId}/EmployeeExpenses?id={request.Id}", Method.DELETE, cancellationToken));
 }
Esempio n. 2
0
 /// <summary>
 /// Delete Employee Expense
 /// </summary>
 /// <remarks>
 /// Deletes the employee expense with the specified ID from the pay run.
 /// </remarks>
 public void DeleteEmployeeExpense(int businessId, int payRunId, DeleteEmployeeExpenseQueryModel request)
 {
     ApiRequest($"/business/{businessId}/payrun/{payRunId}/EmployeeExpenses?id={request.Id}", Method.DELETE);
 }