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