public function index() { $contactcompanies = Contactcompany::orderBy('updated_at', 'desc')->get(); return View::make('Middle.Web.Contactcompany.index', compact('contactcompanies')); }
public function index() { $contactcompanies = Contactcompany::orderBy('updated_at', 'desc')->get(); return response(['data' => $contactcompanies, 'status' => 'success', 'message' => '']); }