app/Http/Controllers/RoleController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\Role  $role
     * @return \Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy($id)
    {
        Role::find($id)->delete();
        return response()->json([
                                        'success' => true,
                                        'message' => 'Role Deleted successfully.',
        ]);
    }
public function destroy ( $ id ) { Role :: find ( $ id ) -> delete ( ) ; return response ( ) -> json ( [ 'success' => true , 'message' => 'Role Deleted successfully.' , ] ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .