app/Http/Controllers/CustomerController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\Models\Customer  $customer
     * @return \Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy($id)
    {
        $customer = Customer::destroy($id);
        return redirect()->route('customers.index');
    }
public function destroy ( $ id ) { $ customer = Customer :: destroy ( $ id ) ; return redirect ( ) -> route ( 'customers.index' ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .