public function deleteAction() { $person = $this->contactService->findPerson($this->params('id')); if (!$person) { return $this->notFoundAction(); } $this->contactService->deleteContact($person); return $this->redirect()->toRoute('contacts'); }