public function deleteBulk(Request $req, Note $Note, Step $step) { if (!$req->has('table_records')) { return redirect()->route('cities.index'); } $ids = $req->input('table_records'); $Note->destroy($ids); return redirect()->route('registration.notes.index', $step->id)->with('success', trans('registration::notes.delete_bulk_success')); }