using System.Collections.Generic; using System.Linq; using AppForKids.models; using Avalonia; using Avalonia.Controls; using Avalonia.Markup.Xaml; using Avalonia.Media; using Microsoft.EntityFrameworkCore.Metadata; using Color = System.Drawing.Color; namespace AppForKids; public partial class Score : Window { public Score() { InitializeComponent(); var dbContext = new KidsAppDbContext(); ScoreListBox.ItemsSource = dbContext.Users; } }