Mage2\User\Controllers\Admin\RoleController::destroy PHP Method

destroy() public method

Remove the specified resource from storage.
public destroy ( integer $id ) : Illuminate\Http\Response
$id integer
return Illuminate\Http\Response
    public function destroy($id)
    {
        Role::destroy($id);
        return redirect()->route('admin.role.index')->with('notificationText', " Role Destroy Successfully!");
    }