public function handleDelete($id, $format) { $this->data = $this->delete($id); return $this->renderFormat($this->data, $format); }