ModelControllerTPatch Method

Updates a record from associated table.

Definition

Namespace: Gemstone.Web.APIController
Assembly: Gemstone.Web (in Gemstone.Web.dll) Version: 1.0.173 -- Release Build+09f65783c6ec713cc7a6b41f712bf778e2487d9f
[HttpPatchAttribute]
[RouteAttribute("")]
public virtual Task<IActionResult> Patch(
	[FromBodyAttribute] T record,
	CancellationToken cancellationToken
)

Parameters

record  T
The record to be updated.
cancellationToken  CancellationToken
Propagates notification that operations should be canceled.

Return Value

TaskIActionResult
An IActionResult containing the new record [!:T] or Exception.

Implements

IModelControllerTPatch(T, CancellationToken)

See Also