public viewModelPlanning(DaoFacture daoFacture, DaoClient daoClient, DaoSite daoSite, DaoSalle daoSalle, DaoPartie daoPartie, DaoHoraire daoHoraire, DaoObstacle daoObstacle, DaoJoueur daoJoueur, Planning planning) { _wnd = planning; _daoFacture = daoFacture; _daoClient = daoClient; _daoHoraire = daoHoraire; _daoPartie = daoPartie; _daoSalle = daoSalle; _daoSite = daoSite; _daoObstacle = daoObstacle; _daoJoueur = daoJoueur; _listPlanning = new ObservableCollection <Partie>(); _listSalles = new ObservableCollection <Salle>(); ListSites = new ObservableCollection <Site>(_daoSite.GetAllSite()); _listClient = new ObservableCollection <Client>(daoClient.GetAllClient()); DatePlanning = DateTime.Now; researchTextClient = ""; }