.net core not returning the sub list
Code Example - .net core not returning the sub list
make use to add the include
public async Task<ActionResult<IEnumerable<Playlist>>> GetPlayList()
{
return await _context.Playlist.Include(p => p.Videos).ToListAsync();
}