findDepartmentBySlugAction->run($facultySlug, $departmentSlug); $seo = $this->seoPageProvider->getSeoForModel($data['departmentModel']); $department = $data['department']; $departments = $data['departments']; $directions = $data['directions']; return Inertia::render('Client/Departments/Show', compact( 'department', 'departments', 'directions', 'seo', )); } }