Beispiel #1
0
        public void RemoveRoom(string roomName)
        {
            var room = RoomCollection.Find(p => p.Name == roomName);

            RoomCollection.Remove(room);
        }
Beispiel #2
0
 private void RemoveRoomCommandExecute(object o)
 {
     _hotel.RemoveRoom(SelectedRoom.Id);
     RoomCollection.Remove(SelectedRoom);
     RoomCollectionView.Refresh();
 }
Beispiel #3
0
 /// <summary>
 /// Remove one team
 /// </summary>
 /// <param name="teamId"></param>
 public void RemoveTeam(string teamId)
 {
     Rooms.Remove(teamId);
 }