protected function applyExpenseListWasCreated(ExpenseListWasCreated $event)
 {
     $readModel = new ExpenseListInOverview((string) $event->getId(), $event->getName(), (string) $event->getAccountId());
     $this->readModelRepository->save($readModel);
 }
 /**
  * @Route("/", methods={"GET"})
  * @return JsonResponse
  */
 public function expenseListOverviewAction()
 {
     $expenseLists = $this->repository->getForAccount($this->accountId);
     return new JsonResponse($expenseLists);
 }