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