public BuildingsWithRooms(building b, IEnumerable<room> r)
        {
            code = b.code;
            name = b.name;
            park = b.park;

            rooms = new List<RoomsWithFacilities>();

            foreach (room rm in r)
            {
                RoomsWithFacilities rwf = new RoomsWithFacilities(rm);

                rooms.Add(rwf);
            }
        }
        public BuildingsWithRooms(building b, IEnumerable <room> r)
        {
            code = b.code;
            name = b.name;
            park = b.park;

            rooms = new List <RoomsWithFacilities>();

            foreach (room rm in r)
            {
                RoomsWithFacilities rwf = new RoomsWithFacilities(rm);

                rooms.Add(rwf);
            }
        }