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_id)
    {
        Product::findOrfail($product_id)->delete();
        return back()->with('success', 'Product Trashed Successfully');
    }
public function destroy ( $ product_id ) { Product :: findOrfail ( $ product_id ) -> delete ( ) ; return back ( ) -> with ( 'success' , 'Product Trashed Successfully' ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .