public function mainQuestions(Domain $domain, ClientSurvey $id): JsonResource 	{ 		$main_questions = null;  		if ($id->survey_type->value === SurveyType::IZZ->value || $id->survey_type->value === SurveyType::PPI->value) { 			$main_questions = $id->mainQuestions()->orderBy('ordering')->simplePaginate(); 		} else { 			$main_questions = $id->pulsQuestions()->orderBy('ordering')->simplePaginate(); 		}  		return QuestionResource::collection($main_questions); 	}