|
ModelControllerTPatch Method
|
Updates an existing Record.
Namespace: GSF.Web.ModelAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.158-beta
Syntax [HttpPatchAttribute]
[RouteAttribute("Update")]
public virtual IHttpActionResult Patch(
[FromBodyAttribute] T record
)
<HttpPatchAttribute>
<RouteAttribute("Update")>
Public Overridable Function Patch (
<FromBodyAttribute> record As T
) As IHttpActionResult
public:
[HttpPatchAttribute]
[RouteAttribute(L"Update")]
virtual IHttpActionResult^ Patch(
[FromBodyAttribute] T record
)
[<HttpPatchAttribute>]
[<RouteAttribute("Update")>]
abstract Patch :
[<FromBodyAttribute>] record : 'T -> IHttpActionResult
[<HttpPatchAttribute>]
[<RouteAttribute("Update")>]
override Patch :
[<FromBodyAttribute>] record : 'T -> IHttpActionResult
View SourceParameters
- record T
- The T record to be updated.
Return Value
IHttpActionResultIHttpActionResult containing the updated record or
ExceptionSee Also