ModelControllerTDelete(String, CancellationToken) Method

Deletes a record from associated table by primary key.

Definition

Namespace: Gemstone.Web.APIController
Assembly: Gemstone.Web (in Gemstone.Web.dll) Version: 1.0.167 -- Release Build+892a03c3dbb675b99c038de5cdd8c3d77a46615f
[HttpDeleteAttribute]
[RouteAttribute("{id}")]
public virtual Task<IActionResult> Delete(
	string id,
	CancellationToken cancellationToken
)

Parameters

id  String
The primary key of the record to be deleted.
cancellationToken  CancellationToken
Propagates notification that operations should be canceled.

Return Value

TaskIActionResult
An IActionResult containing 1 or Exception.

Implements

IModelControllerTDelete(String, CancellationToken)

See Also