ReadOnlyModelControllerTGetOne Method

Gets a single record from associated table.

Definition

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

Parameters

id  String
The PrimaryKey value of the Model to be returned.
cancellationToken  CancellationToken
Propagates notification that operations should be canceled.

Return Value

TaskIActionResult
An IActionResult containing a [!:T] or Exception.

Implements

IReadOnlyModelControllerTGetOne(String, CancellationToken)

See Also