/// <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)); }
/// <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)); }
/// <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)); }