app/Http/Controllers/ContactController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\Models\Contact  $contact
     * @return \Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy($id)
    {
        $contacts = Contact::find($id);
        $contacts->delete();
        return response()->json('The conacts successfully deleted');
    }
public function destroy ( $ id ) { $ contacts = Contact :: find ( $ id ) ; $ contacts -> delete ( ) ; return response ( ) -> json ( 'The conacts successfully deleted' ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .
//