ReadOnlyModelControllerTGetOne Method

Gets a single record from associated table.

Definition

Namespace: Gemstone.Web.APIController
Assembly: Gemstone.Web (in Gemstone.Web.dll) Version: 1.0.169 -- Release Build+8faf1ecac713d04b6f66b1362cad3fcad71f0c24
[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