code: public function getById($id, $columns = ['*'])
      {
          try {
              $results = $this->getQuery()->findOrFail($id, $columns);
          }
          catch(ModelNotFoundException $e){
              throw new NotFoundRepositoryException($e);
          }
  
          return $this->returnResults($results);
      }
docs: Find a single model by it's id
  
  @param $id
  @param array $columns
  @return mixed
  @throws NotFoundRepositoryException