예제 #1
0
 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;
 }