BikeHistoryDataControllerSave Method |  |
Save a new data item of bike history item or update a exist data item of bike history item
Namespace:
Velo.Web.Controllers
Assembly:
Velo.Web (in Velo.Web.dll) Version: 22.2.10.1 (22.2.10.450)
Syntaxpublic IHttpActionResult Save(
BikeHistory pID
)
Public Function Save (
pID As BikeHistory
) As IHttpActionResult
Parameters
- pID
- Type: Velo.Data.ModelsBikeHistory
Values of bike history item. See BikeHistory
Return Value
Type:
IHttpActionResult
Saved data item with a ID
Remarks
If ID equal 0 then add a new data item.
If ID equal 0 (is a new entry) and has BikeID then sets bike history default values from bike.
Examples
POST: api/BikeHistoryData/Save
See Also