public function getDelete($id)
 {
     Legalitas::where('id', $id)->delete();
     return redirect()->back()->with(session()->flash('success', 'Berhasil menghapus data'));
 }