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