public void Refresh() { RoomCollection.Clear(); foreach (var room in _hotel.GetAllRoomsWithBookings()) { RoomCollection.Add(new RoomModel(room)); } SortRoomsSelectedType = SortRoomsTypes[0]; ShownDateTime = DateTime.Now.Date; }
public void Refresh() { RoomCollection.Clear(); foreach (var room in _hotel.GetAllRoomsWithBookings()) { RoomCollection.Add(new RoomModel(room)); } SortRoomsSelectedType = SortRoomsTypes[0]; ShownDateTime = DateTime.Now.Date; }