public function removeBankRowAction() { if ($this->request->isPost() && $this->request->isXmlHttpRequest()) { $bank = $this->companyService->getBankById($this->request->getPost()->bankId); if ($bank) { $this->companyService->deleteBank($bank); } } return $this->response; }