Statistiques
| Branche: | Révision:

root / GES_PAC / ViewModel / PersonViewModel.cs @ e4adf0cc

Historique | Voir | Annoter | Télécharger (391 octets)

1 65ad7e66 Lucas Bihannic
using GES_PAC.Model;
2
using System.Collections.ObjectModel;
3
4
namespace GES_PAC.ViewModel
5
{
6
    public class PersonViewModel
7
    {
8
        public ObservableCollection<Personne> Persons { get; set; } = new();
9
10
        private static PersonViewModel _instance;
11
        public static PersonViewModel Instance => _instance ??= new PersonViewModel();
12
13
        private PersonViewModel() { }
14
    }
15
}