I used the extension builder to generate a base for my extension. But now I want to modify the output of my listAction() method:
public function listAction() {
$rooms = $this->roomRepository->findAll();
$this->view->assign('rooms', $rooms);
}
Is it possible to add a where statement to not receive all rows from table "Rooms"?