/// <summary> /// Update Employee Expense /// </summary> /// <remarks> /// Updates the employee's recurring expense with the specified ID. /// </remarks> public Task <EmployeeRecurringExpenseModel> UpdateEmployeeExpenseAsync(int businessId, int employeeId, int id, EmployeeRecurringExpenseModel model, CancellationToken cancellationToken = default) { return(ApiRequestAsync <EmployeeRecurringExpenseModel, EmployeeRecurringExpenseModel>($"/business/{businessId}/employee/{employeeId}/expense/{id}", model, Method.PUT, cancellationToken)); }
/// <summary> /// Update Employee Expense /// </summary> /// <remarks> /// Updates the employee's recurring expense with the specified ID. /// </remarks> public EmployeeRecurringExpenseModel UpdateEmployeeExpense(int businessId, int employeeId, int id, EmployeeRecurringExpenseModel model) { return(ApiRequest <EmployeeRecurringExpenseModel, EmployeeRecurringExpenseModel>($"/business/{businessId}/employee/{employeeId}/expense/{id}", model, Method.PUT)); }