repo = $repo; } public function repoGetData($offset, $limit) { return $this->repo->get($offset, $limit); } public function repoGetCount() { return $this->repo->getCount(); } public function repoGetDataByID($id){ return $this->repo->getById($id); } public function repoSave($data){ return $this->repo->save($data); } public function repoDeleteById($id) { return $this->repo->delete($id); } }