src/Repositories/Repository.php
public function delete($id)
    {
        $model = $this->model->where('id', $id)->first();
        if (!$model) {
            return false;
        }
        return $model->delete();
    }
public function delete($id)
    {
        $model = $this->model->where('id', $id)->first();
        if (!$model) {
            return false;
        }
        return $model->delete();
    }
public function delete ( $ id ) { $ model = $ this -> model -> where ( 'id' , $ id ) -> first ( ) ; if ( ! $ model ) { return false ; } return $ model -> delete ( ) ; }
Remove a record.

@param  \Illuminate\Database\Eloquent\Model $model
@return boolean
Remove a record .