public function view($id, GeneratorListener $listener)
    {
        $model = Report::where('id', $id)->first();
        if (is_null($model)) {
            return $listener->viewFailed();
        }
        return $this->presenter->publishHtml($model);
    }