code: public function lists(FilterRequest $request)
      {
          $resources = $this->repository->filter($request)->get();
          
          if ($resources->count() < 1) {
              // return $this->notFound();
          }
          
          return $this->success($resources);
      }
docs: Display a listing of the resource.
  
  @return \Illuminate\Http\Response