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