public function destroy($id) { $opportunity = Opportunity::findOrFail($id); $opportunity->delete(); return redirect('opportunity'); }