public Dictionary <Room, Canvas> LoadRooms() { Dictionary <Room, Canvas> dictionary = new Dictionary <Room, Canvas>(); List <Room> rooms = RoomService.Instance.GetAll(); foreach (Room room in rooms) { dictionary.Add(room, CanvasUtil.CreateRoomCanvas(room)); } return(dictionary); }