Implementation of repositories and return infos

This commit is contained in:
Sébastien André
2019-09-26 15:31:17 +02:00
parent 4d6787af20
commit ed3f7c42c5
34 changed files with 1382 additions and 8 deletions

View File

@@ -7,5 +7,8 @@ namespace skydiveLogs_api.DataContract
{
public class AircraftResp
{
public int Id { get; set; }
public string Name { get; set; }
}
}

View File

@@ -7,5 +7,20 @@ namespace skydiveLogs_api.DataContract
{
public class DropZoneResp
{
public int Id { get; set; }
public string Latitude { get; set; }
public string Longitude { get; set; }
public string Name { get; set; }
public string Address { get; set; }
public string Website { get; set; }
public string Email { get; set; }
public IEnumerable<string> Type { get; set; }
}
}

View File

@@ -7,5 +7,22 @@ namespace skydiveLogs_api.DataContract
{
public class JumpResp
{
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; }
}
}

View File

@@ -7,5 +7,8 @@ namespace skydiveLogs_api.DataContract
{
public class JumpTypeResp
{
public int Id { get; set; }
public string Name { get; set; }
}
}