public class Accounts { public string? AccountName { get; set; } public bool RecentContact { get; set; } public IEnumerable Tasks { get; set; } public List account = new(); } public class Tasks { public string? TaskName { get; set; } = "Example"; public bool IsComplete { get; set; } = false; public List task = new(); }