Esempio n. 1
0
        public void Refresh()
        {
            RoomCollectionV.Clear();
            foreach (var room in _hotel.GetAllRoomsWithBookings())
            {
                RoomCollectionV.Add(room);
            }

            SortRoomsSelectedTypeV = SortRoomsTypesV[0];
            ShownDateTimeV         = DateTime.Now.Date;
        }
Esempio n. 2
0
        public void Refresh()
        {
            RoomCollection.Clear();
            foreach (var room in _hotel.GetAllRoomsWithBookings())
            {
                RoomCollection.Add(new RoomModel(room));
            }

            SortRoomsSelectedType = SortRoomsTypes[0];
            ShownDateTime         = DateTime.Now.Date;
        }