Exemplo n.º 1
0
        public void TestRemoveGuest()
        {
            AdditionalMethods model = new AdditionalMethods();

            model.AddGuest("Łucja", "Wołkowicz", "Polish");
            model.RemoveGuest(1);
            Assert.AreEqual(0, model.DisplayGuests().Count);
            Assert.AreEqual(0, model.DisplayRooms().Count);
        }
 //usuwa klienta
 public void RemoveButtonClient()
 {
     model.RemoveGuest(IdClientToRemove);
     this.OnPropertyChanged();
     this.OdswiezShowedList();
 }