app/Http/Controllers/PartnerController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\Models\Partner  $partner
     * @return \Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy(Partner $partner)
    {
        File::destroy('image', $partner);
        $partner->delete();
        return $this->redirect();
    }
public function destroy ( Partner $ partner ) { File :: destroy ( 'image' , $ partner ) ; $ partner -> delete ( ) ; return $ this -> redirect ( ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .