public function index($page_id) { return $this->sectionRepository->indexRelated(new Section(), $page_id, new Page()); }
public function index($project_id) { return $this->pageRepository->indexRelated(new Page(), $project_id, new Project()); }