Creating Records
UseCreateAsync to create a new entity. It returns the ID of the newly created record.
Create a coworker
Create a product
Error handling
CreateAsync throws InvalidOperationException if the API returns an error — for example, when required fields are missing or validation fails: