container->get(PatientPathographyRequest::class); $request->scene('existFamilyPathography')->validateResolved(); $PatientPathographyService = new PatientPathographyService(); $data = $PatientPathographyService->existFamilyPathography(); return $this->response->json($data); }catch (\Throwable $e){ return $this->response->json(fail()); } } }