Example #1
0
 /// <summary>
 /// Create Employing Entity
 /// </summary>
 /// <remarks>
 /// Creates a new employing entity for the business.
 /// </remarks>
 public Task <AuEmployingEntityModel> CreateEmployingEntityAsync(int businessId, AuEmployingEntityModel employingEntity, CancellationToken cancellationToken = default)
 {
     return(ApiRequestAsync <AuEmployingEntityModel, AuEmployingEntityModel>($"/business/{businessId}/employingentity", employingEntity, Method.POST, cancellationToken));
 }
Example #2
0
 /// <summary>
 /// Update Employing Entity
 /// </summary>
 /// <remarks>
 /// Updates the employing entity with the specified ID.
 /// </remarks>
 public AuEmployingEntityModel UpdateEmployingEntity(int businessId, int id, AuEmployingEntityModel employingEntity)
 {
     return(ApiRequest <AuEmployingEntityModel, AuEmployingEntityModel>($"/business/{businessId}/employingentity/{id}", employingEntity, Method.PUT));
 }
Example #3
0
 /// <summary>
 /// Create Employing Entity
 /// </summary>
 /// <remarks>
 /// Creates a new employing entity for the business.
 /// </remarks>
 public AuEmployingEntityModel CreateEmployingEntity(int businessId, AuEmployingEntityModel employingEntity)
 {
     return(ApiRequest <AuEmployingEntityModel, AuEmployingEntityModel>($"/business/{businessId}/employingentity", employingEntity, Method.POST));
 }