/** * Delete a client * */ public function deleteAction() { $client = $this->byId(); $this->clientService->deleteClient($client); $this->redirect('client'); }