|
ModelControllerT, UGetOne Method
|
Gets record from associated table with a primary key matching the id provided.
Namespace: GSF.Web.ModelAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.218-beta
Syntax [RouteAttribute("One/{id}")]
[HttpGetAttribute]
public virtual IHttpActionResult GetOne(
string id
)
<RouteAttribute("One/{id}")>
<HttpGetAttribute>
Public Overridable Function GetOne (
id As String
) As IHttpActionResult
public:
[RouteAttribute(L"One/{id}")]
[HttpGetAttribute]
virtual IHttpActionResult^ GetOne(
String^ id
)
[<RouteAttribute("One/{id}")>]
[<HttpGetAttribute>]
abstract GetOne :
id : string -> IHttpActionResult
[<RouteAttribute("One/{id}")>]
[<HttpGetAttribute>]
override GetOne :
id : string -> IHttpActionResult
View SourceParameters
- id String
- ID to be used
Return Value
IHttpActionResultIHttpActionResult containing
T or
ExceptionSee Also