cancelReasonRepository = $cancelReasonRepository; } public function getAll() { return $this->cancelReasonRepository->getAll(); } public function save($data) { return $this->cancelReasonRepository->save($data); } public function update($data, $id) { return $this->cancelReasonRepository->update($data, $id); } public function delete($id) { return $this->cancelReasonRepository->delete($id); } }