public function delete($id)
    {
        $this->beforeDelete($id);
        $this->entity->delete($id);
        $this->afterDelete($id);
    }
public function delete($id)
    {
        $this->beforeDelete($id);
        $this->entity->delete($id);
        $this->afterDelete($id);
    }
public function delete ( $ id ) { $ this -> beforeDelete ( $ id ) ; $ this -> entity -> delete ( $ id ) ; $ this -> afterDelete ( $ id ) ; }
Pass through to entity so it can perform extra logic if needed most of the time...

@param int $id
@throws HTTPException
Pass through to entity so it can perform extra logic if needed most of the time ...