Ajout de l'action d'ajout de saut.
This commit is contained in:
@@ -1,13 +1 @@
|
||||
[
|
||||
{
|
||||
"id": 1,
|
||||
"jumpTypeId" : 1,
|
||||
"aircraftId" : 1,
|
||||
"dropZoneId" : 1,
|
||||
"gearId" : 1,
|
||||
"exitAltitude" : "4000",
|
||||
"deployAltitude" : "1500",
|
||||
"withCutaway" : false,
|
||||
"notes" : ""
|
||||
}
|
||||
]
|
||||
[{"Id":1,"JumpTypeId":1,"AircraftId":5,"DropZoneId":6,"GearId":8,"ExitAltitude":40001,"DeployAltitude":10002,"WithCutaway":true,"Notes":"","JumpDate":"0001-01-01T00:00:00"},{"Id":2,"JumpTypeId":1,"AircraftId":5,"DropZoneId":6,"GearId":8,"ExitAltitude":40001,"DeployAltitude":10002,"WithCutaway":true,"Notes":"","JumpDate":"0001-01-01T00:00:00"}]
|
||||
@@ -7,5 +7,24 @@ namespace skydiveLogs_api.DataContract
|
||||
{
|
||||
public class JumpReq
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public int JumpTypeId { get; set; }
|
||||
|
||||
public int AircraftId { get; set; }
|
||||
|
||||
public int DropZoneId { get; set; }
|
||||
|
||||
public int GearId { get; set; }
|
||||
|
||||
public int ExitAltitude { get; set; }
|
||||
|
||||
public int DeployAltitude { get; set; }
|
||||
|
||||
public bool WithCutaway { get; set; }
|
||||
|
||||
public string Notes { get; set; }
|
||||
|
||||
public DateTime JumpDate { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"windowsAuthentication": false,
|
||||
"anonymousAuthentication": true,
|
||||
"iisExpress": {
|
||||
"applicationUrl": "http://localhost:51376",
|
||||
"applicationUrl": "http://localhost:5000",
|
||||
"sslPort": 0
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user