Answers for ".net core not returning the sub list"

C#
0

.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();

        }
Posted by: Guest on April-11-2022

Code answers related to ".net core not returning the sub list"

C# Answers by Framework

Browse Popular Code Answers by Language