code: public function delete($id)
      {
          $resource = $this->model->find($id);
          
          if (! $resource) {
              return '';
          }
          
          return $resource->delete();
      }
docs: Delete a resource by id
  
  @param $id int
  @return boolean