using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Model { public class Manager { public ObservableCollection Games { get; set; } = new(); private IPersistance _persistance; public Manager(IPersistance persistance) { _persistance = persistance; Games = _persistance.LoadGame(); } } }