change results to use list interfaces
This commit is contained in:
parent
a52665dd08
commit
563b4e0441
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ public record OffenderInformation
|
||||||
public int AnnotationCount { get; set; }
|
public int AnnotationCount { get; set; }
|
||||||
|
|
||||||
[JsonPropertyName("persones")]
|
[JsonPropertyName("persones")]
|
||||||
public ICollection<OffenderPersona> Personas { get; set; } = [];
|
public IList<OffenderPersona> Personas { get; set; } = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
public record OffenderPersona
|
public record OffenderPersona
|
||||||
|
|
|
@ -5,5 +5,5 @@ public record SearchResponse
|
||||||
public int Total { get; set; }
|
public int Total { get; set; }
|
||||||
public bool HasError { get; set; }
|
public bool HasError { get; set; }
|
||||||
|
|
||||||
public ICollection<OffenderInformation> Data { get; set; } = new List<OffenderInformation>();
|
public IList<OffenderInformation> Data { get; set; } = new List<OffenderInformation>();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue