public function childStoreWithPivot($idParent, $request, $relation)
    {
        $idParent = $this->getRealId($idParent);
        
        $resource = $this->repository->storeChildAndPivot($idParent, $relation, $request->all());
        
        if (! $resource) {
            // return $this->notFound();
        }
        
        return $this->success($resource);
    }