public function batchAction() { $params =
$this->
Request()->
getPost();
$this->resource->
setResultMode(AbstractResource::HYDRATE_ARRAY
);
$result =
$this->resource->
batch($params);
$this->
View()->
assign(['success' => true, 'data' =>
$result]);
} /**
* Controller Action for the batchDelete
*
* @throws RuntimeException
*
* @return void
*/