Click or drag to resize

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)
Syntax
public IHttpActionResult Save(
	BikeHistory pID
)

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