playerService = $playerService; } public function playerRetention() { $records = $this->playerService->getPlayerRetention($this->request->all()); return $this->setData(['records' => $records])->success(); } }