 | HoarderServiceClient.RepsertTitle Method |
Replaces or inserts a title.
Namespace: Orthogonal.Hoarder.StdLibAssembly: Orthogonal.Hoarder.StdLib (in Orthogonal.Hoarder.StdLib.dll) Version: 8.0.9
Syntaxpublic Task<RepsertTitleResult> RepsertTitle(
Title title
)
Parameters
- title Title
- The full title object to be updated or inserted.
Return Value
Task<RepsertTitleResult>
The Title document after it has been replaced or inserted. If a missing or invalid 'id' key was posted, then the
returned Title will have a valid automatically assigned 'id'.
Exceptions
Remarks
A Title will be inserted if its id does not exist in the database, otherwise a Title with the existing Id
will be replaced.
See Also