|
ModelControllerTGetOne 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.158-beta
Syntax [HttpGetAttribute]
[RouteAttribute("One/{id}")]
public virtual IHttpActionResult GetOne(
string id
)
<HttpGetAttribute>
<RouteAttribute("One/{id}")>
Public Overridable Function GetOne (
id As String
) As IHttpActionResult
public:
[HttpGetAttribute]
[RouteAttribute(L"One/{id}")]
virtual IHttpActionResult^ GetOne(
String^ id
)
[<HttpGetAttribute>]
[<RouteAttribute("One/{id}")>]
abstract GetOne :
id : string -> IHttpActionResult
[<HttpGetAttribute>]
[<RouteAttribute("One/{id}")>]
override GetOne :
id : string -> IHttpActionResult
View SourceParameters
- id String
- ID to be used
Return Value
IHttpActionResultIHttpActionResult containing
T or
ExceptionSee Also