Пример #1
0
 /**
  * удаляем кдинта у менеджера
  */
 public function action_del_client()
 {
     $managerId = $this->request->post('manager_id');
     $clientId = $this->request->post('client_id');
     $error = Model_Manager::delClient($managerId, $clientId);
     if (!empty($error)) {
         $this->jsonResult(false, $error);
     }
     $this->jsonResult(true);
 }