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