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