public void RemoveRoom(string roomName) { var room = RoomCollection.Find(p => p.Name == roomName); RoomCollection.Remove(room); }
private void RemoveRoomCommandExecute(object o) { _hotel.RemoveRoom(SelectedRoom.Id); RoomCollection.Remove(SelectedRoom); RoomCollectionView.Refresh(); }
/// <summary> /// Remove one team /// </summary> /// <param name="teamId"></param> public void RemoveTeam(string teamId) { Rooms.Remove(teamId); }