You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
506 B
22 lines
506 B
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<Game> Games { get; set; } = new();
|
|
private IPersistance _persistance;
|
|
|
|
public Manager(IPersistance persistance)
|
|
{
|
|
_persistance = persistance;
|
|
Games = _persistance.LoadGame();
|
|
}
|
|
}
|
|
}
|