public function index() { $series = $this->series->findAllWithRelation(); $categories = $this->categories->listIdAndName(); return $this->responseJson(compact('series', 'categories')); }