public function show($id, FilterRequest $request)
    {
        $id = $this->getRealId($id);
        
        $request->criteria[] = 'id,=,' . $id;
        
        $resource = $this->repository->filter($request)->first();
        
        //$resource = $this->repository->find($id);
        
        if (! $resource) {
            // return $this->notFound();
        }
        
        return $this->success($resource);
    }