ModelControllerTDelete(T, CancellationToken) Method

Deletes a record from associated table.

Definition

Namespace: Gemstone.Web.APIController
Assembly: Gemstone.Web (in Gemstone.Web.dll) Version: 1.0.172 -- Release Build+a00b104d832d55fca23f5e0c0323cdc12f44b76c
[HttpDeleteAttribute]
[RouteAttribute("")]
public virtual Task<IActionResult> Delete(
	[FromBodyAttribute] T record,
	CancellationToken cancellationToken
)

Parameters

record  T
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(T, CancellationToken)

See Also