public function apiDataKategori() { $data = Kategori::orderBy('id', 'desc')->get(); return response()->json($data); }