Example #1
0
 /// <summary>
 /// Update Employee Access Record
 /// </summary>
 /// <remarks>
 /// Updates the employee access record for the specified user.
 /// </remarks>
 public Task UpdateEmployeeAccessRecordAsync(int businessId, int employeeId, AccessModel viewModel, UpdateEmployeeAccessRecordQueryModel request, CancellationToken cancellationToken = default)
 {
     return(ApiRequestAsync($"/business/{businessId}/employee/{employeeId}/access?email={request.Email}", viewModel, Method.PUT, cancellationToken));
 }
Example #2
0
 /// <summary>
 /// Update Employee Access Record
 /// </summary>
 /// <remarks>
 /// Updates the employee access record for the specified user.
 /// </remarks>
 public void UpdateEmployeeAccessRecord(int businessId, int employeeId, AccessModel viewModel, UpdateEmployeeAccessRecordQueryModel request)
 {
     ApiRequest($"/business/{businessId}/employee/{employeeId}/access?email={request.Email}", viewModel, Method.PUT);
 }