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

            SortRoomsSelectedTypeV = SortRoomsTypesV[0];
            ShownDateTimeV         = DateTime.Now.Date;
        }
Exemplo 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;
        }