private void addOption()
        {
            DemandeOption dOpt = new DemandeOption();

            dOpt.NbJour            = 0;
            dOpt.IdChambreReservee = ID;
            OptionDemandeVueModel optVM = new OptionDemandeVueModel(dOpt);

            optVM.suppresion += SupprimerOption;
            ListeDemandeOptions.Add(optVM);
            NotifyPropertyChanged();
        }
        public ChambreReserveeViewModel(ChambreReserveeService srv, ChambreReservee cr)
        {
            Srv             = srv;
            ChambreReservee = cr;
            UpdateListeChambresHotel();
            observerChambre = CollectionViewSource.GetDefaultView(ListeChambresHotel);
            observerChambre.CurrentChanged += CurrentReservationChanged;
            if (NumeroChambre != 0)
            {
                observerChambre.MoveCurrentTo((from c in ListeChambresHotel where c.Numero == NumeroChambre select c).Single <ChambreViewModel>());
            }
            OptionService        osrv    = Services.OptionService.Instance;
            List <DemandeOption> dOption = osrv.getOptionDemande(cr.Id);

            ListeDemandeOptions = new ObservableCollection <OptionDemandeVueModel>();
            foreach (DemandeOption optionD in dOption)
            {
                OptionDemandeVueModel oDvm = new OptionDemandeVueModel(optionD);
                oDvm.suppresion += SupprimerOption;
                ListeDemandeOptions.Add(oDvm);
            }
        }