ContributionsMost RecentMost LikesSolutionsreturn multiple listings based on the criteria I have an Action [HttpGet] that returns all entries from a class Services and Status , schema similar to this "hstryTimeStamp": "string", "hstryDateTime": "2024-04-25T23:17:44.955Z", "ServiceName": "string", "mobilePhone": "string", "ethnicity": "string", "Status": [ { "statusSer": 0, "ServiceSer": 0, "statusId": "string", "startDateTime": "2024-04-25T23:17:44.955Z", "Status": "string", I would like to search by Status (e.g. Running” /”Stopped”) and also display ServiceNmae for all records How do I get all listing where Status is “Running” and the “ServiceName”? I’ve tried this but this returns one entry //action Get By Status [HttpGet("{Status}")] [ProducesResponseType(typeof(Statu), StatusCodes.Status204NoContent)] [ProducesResponseType(typeof(Statu), StatusCodes.Status400BadRequest)] public async Task<IActionResult> GetByStatus(string Status) { var _status = Convert.ToString(Status); var status = await _context.Courses.FirstOrDefaultAsync(i => i.Status == _status ); return status == null ? NotFound() : Ok(status); } Swagger not returning everything Created my first API (learning) Two classes, first class looks lie this public class Imaging { public int ImagingId { get; set; } public string? TxSite { get; set; } public string? ImagingType { get; set; } public string? alignTo { get; set; } public bool Active { get; set; } public string? CreatedDate { get; set; } public string? CreatedBy { get; set; } public string? ModifiedDate { get; set; } public string? ModifiedBy { get; set; } } The second includes a list for the first class public class Issue { public int Id { get; set; } [Required] public string Title { get; set; } [Required] public string Description { get; set; } public Priority Priority { get; set; } public IssueType IssueType { get; set; } public DateTime Created { get; set; } public DateTime? Completed { get; set; } //list of imagining public List<Imaging>? Imaging { get; set; } } When open the end-point, the sample schema looks good schema (nested objects) but when I execute , the list is null my controller is rather simple [HttpGet] public async Task<IEnumerable<Issue>> Get() => await _context.Issues.ToListAsync(); How do I get the values from the Image object? many thanks in advance