PATH:
home
/
lab2454c
/
omvstudio.com
/
app
/
Http
/
Controllers
/
Admin
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\Models\Contact; class ContactController extends Controller { public function showContacts() { $contacts = Contact::orderByDesc('created_at')->get(); return view('admin.contact.list',compact('contacts')); } public function deleteContact(Request $request,$id) { $contact = Contact::find($id); $contact->delete(); return redirect()->back()->with('success','Record has been deleted successfully!!'); } }
[-] CategoryController.php
[edit]
[-] MovieController_bkp.php
[edit]
[-] PageBannerController.php
[edit]
[+]
..
[-] UserController.php
[edit]
[-] SiteSettingController.php
[edit]
[-] AdminProfileController.php
[edit]
[-] MusicController.php
[edit]
[-] PageController.php
[edit]
[-] HomeConfigWorkController.php
[edit]
[-] MovieController.php
[edit]
[-] ContactController.php
[edit]
[-] FaqController.php
[edit]
[-] LoginController.php
[edit]
[-] MusicManiaController.php
[edit]
[-] ReviewController.php
[edit]
[-] MediaController.php
[edit]
[-] DashboardController.php
[edit]
[-] EntertainController.php
[edit]
[-] MenuController.php
[edit]
[-] SportController.php
[edit]