I have to make a query by the menu that I have to bring only the active submenus, see my code.
return context.Set<Menu>().Include("MenuGroups")
.Where(x => x.Id == id && x.MenuGroups.Any(z => z.Active))
.FirstOrDefault();
My feedback keeps bringing my submenus with status false