skipTotalRecords()->toJson(); } public function index() { return response()->json(AihService::index(), Response::HTTP_OK); } public function list() { return response()->json(AihService::list(), Response::HTTP_OK); } public function create($pacienteId = null) { return response()->json(AihService::create($pacienteId), Response::HTTP_OK); } public function store() { return response()->json(AihService::store(), Response::HTTP_CREATED); } public function edit($id) { return response()->json(AihService::edit($id), Response::HTTP_OK); } public function update($id) { return response()->json(AihService::update($id), Response::HTTP_OK); } }