Ajout de l'action d'ajout de saut.

This commit is contained in:
Sébastien André
2019-10-30 16:36:26 +01:00
parent 5c7eaa61c8
commit e0ddb8e34b
6 changed files with 55 additions and 19 deletions

View File

@@ -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"}]

View File

@@ -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; }
}
}

View File

@@ -3,7 +3,7 @@
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:51376",
"applicationUrl": "http://localhost:5000",
"sslPort": 0
}
},