From 091e4c832dfe573b36234a77b08b20602277e6c7 Mon Sep 17 00:00:00 2001 From: Rohmad Eko Wahyudi Date: Mon, 10 Nov 2025 17:39:51 +0700 Subject: [PATCH] fix: routing --- Controllers/Main/AktifitasController.cs | 2 +- Controllers/Main/DashboardController.cs | 2 +- Controllers/Main/DataBankSampahController.cs | 2 +- Controllers/Main/DataNasabahController.cs | 2 +- Controllers/Main/DataOfftakerController.cs | 2 +- Controllers/Main/ProfilController.cs | 4 ++-- Controllers/Main/TransaksiLaporanController.cs | 2 +- Controllers/Master/AktivitasController.cs | 2 +- Controllers/Master/ArtikelController.cs | 2 +- Controllers/Master/BadanHukumController.cs | 2 +- Controllers/Master/FasilitasController.cs | 2 +- Controllers/Master/JenisBankSampahController.cs | 2 +- Controllers/Master/JenisNasabahController.cs | 2 +- Controllers/Master/JenisPengolahanController.cs | 2 +- Controllers/Master/JenisSampahController.cs | 2 +- Controllers/Master/KategoriController.cs | 2 +- Controllers/Master/KategoriFasilitasController.cs | 2 +- Controllers/Master/KategoriSampahController.cs | 2 +- Controllers/Master/MitraController.cs | 2 +- Controllers/Master/StatusLahanController.cs | 2 +- Controllers/Master/SubKategoriSampahController.cs | 2 +- Controllers/Wilayah/KecamatanController.cs | 2 +- Controllers/Wilayah/KelurahanController.cs | 2 +- Controllers/Wilayah/KotaController.cs | 2 +- Views/Main/DataBankSampah/Index.cshtml | 4 ++-- Views/Main/DataNasabah/Index.cshtml | 2 +- Views/Main/DataOfftaker/Index.cshtml | 2 +- Views/Master/Aktivitas/Index.cshtml | 2 +- Views/Master/Artikel/Index.cshtml | 2 +- Views/Master/BadanHukum/Index.cshtml | 2 +- Views/Master/Fasilitas/Index.cshtml | 2 +- Views/Master/JenisBankSampah/Index.cshtml | 2 +- Views/Master/JenisNasabah/Index.cshtml | 2 +- Views/Master/JenisPengolahan/Index.cshtml | 2 +- Views/Master/JenisSampah/Index.cshtml | 2 +- Views/Master/Kategori/Index.cshtml | 2 +- Views/Master/KategoriFasilitas/Index.cshtml | 2 +- Views/Master/KategoriSampah/Index.cshtml | 2 +- Views/Master/Mitra/Index.cshtml | 2 +- Views/Master/StatusLahan/Index.cshtml | 2 +- Views/Master/SubKategoriSampah/Index.cshtml | 2 +- Views/Shared/_Layout.cshtml | 4 ++-- Views/Wilayah/Kecamatan/Index.cshtml | 2 +- Views/Wilayah/Kelurahan/Index.cshtml | 2 +- Views/Wilayah/Kota/Index.cshtml | 2 +- 45 files changed, 48 insertions(+), 48 deletions(-) diff --git a/Controllers/Main/AktifitasController.cs b/Controllers/Main/AktifitasController.cs index c3e1c47..ce705a2 100644 --- a/Controllers/Main/AktifitasController.cs +++ b/Controllers/Main/AktifitasController.cs @@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Main { public IActionResult Index() { - return View(); + return View("~/Views/Main/Aktifitas/Index.cshtml"); } } } diff --git a/Controllers/Main/DashboardController.cs b/Controllers/Main/DashboardController.cs index b5f7cb5..d6d2a04 100644 --- a/Controllers/Main/DashboardController.cs +++ b/Controllers/Main/DashboardController.cs @@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Main { public IActionResult Index() { - return View(); + return View("~/Views/Main/Dashboard/Index.cshtml"); } } } diff --git a/Controllers/Main/DataBankSampahController.cs b/Controllers/Main/DataBankSampahController.cs index 402e5ef..1011849 100644 --- a/Controllers/Main/DataBankSampahController.cs +++ b/Controllers/Main/DataBankSampahController.cs @@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Main { public IActionResult Index() { - return View(); + return View("~/Views/Main/DataBankSampah/Index.cshtml"); } [HttpGet] diff --git a/Controllers/Main/DataNasabahController.cs b/Controllers/Main/DataNasabahController.cs index 6f2c772..1e867d1 100644 --- a/Controllers/Main/DataNasabahController.cs +++ b/Controllers/Main/DataNasabahController.cs @@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Main { public IActionResult Index() { - return View(); + return View("~/Views/Main/DataNasabah/Index.cshtml"); } [HttpGet] diff --git a/Controllers/Main/DataOfftakerController.cs b/Controllers/Main/DataOfftakerController.cs index 68340cd..04ece9b 100644 --- a/Controllers/Main/DataOfftakerController.cs +++ b/Controllers/Main/DataOfftakerController.cs @@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Main { public IActionResult Index() { - return View(); + return View("~/Views/Main/DataOfftaker/Index.cshtml"); } [HttpGet] diff --git a/Controllers/Main/ProfilController.cs b/Controllers/Main/ProfilController.cs index 46b4cde..0244818 100644 --- a/Controllers/Main/ProfilController.cs +++ b/Controllers/Main/ProfilController.cs @@ -6,12 +6,12 @@ namespace BankSampahApp.Controllers.Main { public IActionResult Index() { - return View(); + return View("~/Views/Main/Profil/Index.cshtml"); } public IActionResult Edit(int id) { - return View(); + return View("~/Views/Main/Profil/Edit.cshtml"); } } } diff --git a/Controllers/Main/TransaksiLaporanController.cs b/Controllers/Main/TransaksiLaporanController.cs index c900773..d9d88c8 100644 --- a/Controllers/Main/TransaksiLaporanController.cs +++ b/Controllers/Main/TransaksiLaporanController.cs @@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Main { public IActionResult Index() { - return View(); + return View("~/Views/Main/TransaksiLaporan/Index.cshtml"); } } } diff --git a/Controllers/Master/AktivitasController.cs b/Controllers/Master/AktivitasController.cs index cfccbd2..4cc88c8 100644 --- a/Controllers/Master/AktivitasController.cs +++ b/Controllers/Master/AktivitasController.cs @@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Master { public IActionResult Index() { - return View(); + return View("~/Views/Master/Aktivitas/Index.cshtml"); } [HttpGet] diff --git a/Controllers/Master/ArtikelController.cs b/Controllers/Master/ArtikelController.cs index 5a36563..e0de933 100644 --- a/Controllers/Master/ArtikelController.cs +++ b/Controllers/Master/ArtikelController.cs @@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Master { public IActionResult Index() { - return View(); + return View("~/Views/Master/Artikel/Index.cshtml"); } [HttpGet] diff --git a/Controllers/Master/BadanHukumController.cs b/Controllers/Master/BadanHukumController.cs index 9e092bf..df5ebe9 100644 --- a/Controllers/Master/BadanHukumController.cs +++ b/Controllers/Master/BadanHukumController.cs @@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Master { public IActionResult Index() { - return View(); + return View("~/Views/Master/BadanHukum/Index.cshtml"); } [HttpGet] diff --git a/Controllers/Master/FasilitasController.cs b/Controllers/Master/FasilitasController.cs index e6ccf18..fcc0443 100644 --- a/Controllers/Master/FasilitasController.cs +++ b/Controllers/Master/FasilitasController.cs @@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Master { public IActionResult Index() { - return View(); + return View("~/Views/Master/Fasilitas/Index.cshtml"); } [HttpGet] diff --git a/Controllers/Master/JenisBankSampahController.cs b/Controllers/Master/JenisBankSampahController.cs index f50a918..5f604b1 100644 --- a/Controllers/Master/JenisBankSampahController.cs +++ b/Controllers/Master/JenisBankSampahController.cs @@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Master { public IActionResult Index() { - return View(); + return View("~/Views/Master/JenisBankSampah/Index.cshtml"); } [HttpGet] diff --git a/Controllers/Master/JenisNasabahController.cs b/Controllers/Master/JenisNasabahController.cs index dc1b1ae..5e4d327 100644 --- a/Controllers/Master/JenisNasabahController.cs +++ b/Controllers/Master/JenisNasabahController.cs @@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Master { public IActionResult Index() { - return View(); + return View("~/Views/Master/JenisNasabah/Index.cshtml"); } [HttpGet] diff --git a/Controllers/Master/JenisPengolahanController.cs b/Controllers/Master/JenisPengolahanController.cs index 8834fcf..9d9b341 100644 --- a/Controllers/Master/JenisPengolahanController.cs +++ b/Controllers/Master/JenisPengolahanController.cs @@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Master { public IActionResult Index() { - return View(); + return View("~/Views/Master/JenisPengolahan/Index.cshtml"); } [HttpGet] diff --git a/Controllers/Master/JenisSampahController.cs b/Controllers/Master/JenisSampahController.cs index 3aa4fbc..e5a93d9 100644 --- a/Controllers/Master/JenisSampahController.cs +++ b/Controllers/Master/JenisSampahController.cs @@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Master { public IActionResult Index() { - return View(); + return View("~/Views/Master/JenisSampah/Index.cshtml"); } [HttpGet] diff --git a/Controllers/Master/KategoriController.cs b/Controllers/Master/KategoriController.cs index bf56186..ffff70d 100644 --- a/Controllers/Master/KategoriController.cs +++ b/Controllers/Master/KategoriController.cs @@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Master { public IActionResult Index() { - return View(); + return View("~/Views/Master/Kategori/Index.cshtml"); } [HttpGet] diff --git a/Controllers/Master/KategoriFasilitasController.cs b/Controllers/Master/KategoriFasilitasController.cs index 6dd026f..cad3a13 100644 --- a/Controllers/Master/KategoriFasilitasController.cs +++ b/Controllers/Master/KategoriFasilitasController.cs @@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Master { public IActionResult Index() { - return View(); + return View("~/Views/Master/KategoriFasilitas/Index.cshtml"); } [HttpGet] diff --git a/Controllers/Master/KategoriSampahController.cs b/Controllers/Master/KategoriSampahController.cs index 971c72d..6076f09 100644 --- a/Controllers/Master/KategoriSampahController.cs +++ b/Controllers/Master/KategoriSampahController.cs @@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Master { public IActionResult Index() { - return View(); + return View("~/Views/Master/KategoriSampah/Index.cshtml"); } [HttpGet] diff --git a/Controllers/Master/MitraController.cs b/Controllers/Master/MitraController.cs index 14d2ca0..adb40ab 100644 --- a/Controllers/Master/MitraController.cs +++ b/Controllers/Master/MitraController.cs @@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Master { public IActionResult Index() { - return View(); + return View("~/Views/Master/Mitra/Index.cshtml"); } [HttpGet] diff --git a/Controllers/Master/StatusLahanController.cs b/Controllers/Master/StatusLahanController.cs index a7f11ba..053c0b6 100644 --- a/Controllers/Master/StatusLahanController.cs +++ b/Controllers/Master/StatusLahanController.cs @@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Master { public IActionResult Index() { - return View(); + return View("~/Views/Master/StatusLahan/Index.cshtml"); } [HttpGet] diff --git a/Controllers/Master/SubKategoriSampahController.cs b/Controllers/Master/SubKategoriSampahController.cs index d0fac26..3484493 100644 --- a/Controllers/Master/SubKategoriSampahController.cs +++ b/Controllers/Master/SubKategoriSampahController.cs @@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Master { public IActionResult Index() { - return View(); + return View("~/Views/Master/SubKategoriSampah/Index.cshtml"); } [HttpGet] diff --git a/Controllers/Wilayah/KecamatanController.cs b/Controllers/Wilayah/KecamatanController.cs index e3662ea..2d4830e 100644 --- a/Controllers/Wilayah/KecamatanController.cs +++ b/Controllers/Wilayah/KecamatanController.cs @@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Wilayah { public IActionResult Index() { - return View(); + return View("~/Views/Wilayah/Kecamatan/Index.cshtml"); } [HttpGet] diff --git a/Controllers/Wilayah/KelurahanController.cs b/Controllers/Wilayah/KelurahanController.cs index c369ea1..d68d748 100644 --- a/Controllers/Wilayah/KelurahanController.cs +++ b/Controllers/Wilayah/KelurahanController.cs @@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Wilayah { public IActionResult Index() { - return View(); + return View("~/Views/Wilayah/Kelurahan/Index.cshtml"); } [HttpGet] diff --git a/Controllers/Wilayah/KotaController.cs b/Controllers/Wilayah/KotaController.cs index 3a80a93..a9a7a41 100644 --- a/Controllers/Wilayah/KotaController.cs +++ b/Controllers/Wilayah/KotaController.cs @@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Wilayah { public IActionResult Index() { - return View(); + return View("~/Views/Wilayah/Kota/Index.cshtml"); } [HttpGet] diff --git a/Views/Main/DataBankSampah/Index.cshtml b/Views/Main/DataBankSampah/Index.cshtml index e971ee3..a481d8d 100644 --- a/Views/Main/DataBankSampah/Index.cshtml +++ b/Views/Main/DataBankSampah/Index.cshtml @@ -90,7 +90,7 @@ $(document).ready(function () { table = new DataTable('#example', { - ajax: '/Dinas/DataBankSampah/Table', + ajax: '/Main/DataBankSampah/Table', scrollX: true, autoWidth: false, initComplete: function () { @@ -117,7 +117,7 @@ const kategori = $('#filterKategori').val(); const status = $('#filterStatus').val(); - table.ajax.url('/Dinas/DataBankSampah/Table').load((json) => { + table.ajax.url('/Main/DataBankSampah/Table').load((json) => { const filtered = json.data.filter(row => { return (!jenis || row.jenis === jenis) && (!kategori || row.kategori === kategori) diff --git a/Views/Main/DataNasabah/Index.cshtml b/Views/Main/DataNasabah/Index.cshtml index 99fa8e0..ef70383 100644 --- a/Views/Main/DataNasabah/Index.cshtml +++ b/Views/Main/DataNasabah/Index.cshtml @@ -73,7 +73,7 @@ $(document).ready(function () { table = new DataTable('#example', { - ajax: '/Dinas/DataNasabah/Table', + ajax: '/Main/DataNasabah/Table', scrollX: true, autoWidth: false, initComplete: function () { diff --git a/Views/Main/DataOfftaker/Index.cshtml b/Views/Main/DataOfftaker/Index.cshtml index 4633e75..b396ae3 100644 --- a/Views/Main/DataOfftaker/Index.cshtml +++ b/Views/Main/DataOfftaker/Index.cshtml @@ -73,7 +73,7 @@ $(document).ready(function () { table = new DataTable('#example', { - ajax: '/Dinas/DataNasabah/Table', + ajax: '/Main/DataNasabah/Table', scrollX: true, autoWidth: false, initComplete: function () { diff --git a/Views/Master/Aktivitas/Index.cshtml b/Views/Master/Aktivitas/Index.cshtml index 1504132..ea41eb5 100644 --- a/Views/Master/Aktivitas/Index.cshtml +++ b/Views/Master/Aktivitas/Index.cshtml @@ -44,7 +44,7 @@ $(document).ready(function () { table = new DataTable('#example', { - ajax: '/Dinas/Aktivitas/Table', + ajax: '/Master/Aktivitas/Table', scrollX: true, autoWidth: false, initComplete: function () { diff --git a/Views/Master/Artikel/Index.cshtml b/Views/Master/Artikel/Index.cshtml index 317f248..7809c19 100644 --- a/Views/Master/Artikel/Index.cshtml +++ b/Views/Master/Artikel/Index.cshtml @@ -44,7 +44,7 @@ $(document).ready(function () { table = new DataTable('#example', { - ajax: '/Dinas/Artikel/Table', + ajax: '/Master/Artikel/Table', scrollX: true, autoWidth: false, initComplete: function () { diff --git a/Views/Master/BadanHukum/Index.cshtml b/Views/Master/BadanHukum/Index.cshtml index 6c78325..b3016a1 100644 --- a/Views/Master/BadanHukum/Index.cshtml +++ b/Views/Master/BadanHukum/Index.cshtml @@ -44,7 +44,7 @@ $(document).ready(function () { table = new DataTable('#example', { - ajax: '/Dinas/BadanHukum/Table', + ajax: '/Master/BadanHukum/Table', scrollX: true, autoWidth: false, initComplete: function () { diff --git a/Views/Master/Fasilitas/Index.cshtml b/Views/Master/Fasilitas/Index.cshtml index a7c316c..e54e2ad 100644 --- a/Views/Master/Fasilitas/Index.cshtml +++ b/Views/Master/Fasilitas/Index.cshtml @@ -44,7 +44,7 @@ $(document).ready(function () { table = new DataTable('#example', { - ajax: '/Dinas/Fasilitas/Table', + ajax: '/Master/Fasilitas/Table', scrollX: true, autoWidth: false, initComplete: function () { diff --git a/Views/Master/JenisBankSampah/Index.cshtml b/Views/Master/JenisBankSampah/Index.cshtml index e64e740..b232c09 100644 --- a/Views/Master/JenisBankSampah/Index.cshtml +++ b/Views/Master/JenisBankSampah/Index.cshtml @@ -44,7 +44,7 @@ $(document).ready(function () { table = new DataTable('#example', { - ajax: '/Dinas/JenisBankSampah/Table', + ajax: '/Master/JenisBankSampah/Table', scrollX: true, autoWidth: false, initComplete: function () { diff --git a/Views/Master/JenisNasabah/Index.cshtml b/Views/Master/JenisNasabah/Index.cshtml index 8117273..bd8cf7c 100644 --- a/Views/Master/JenisNasabah/Index.cshtml +++ b/Views/Master/JenisNasabah/Index.cshtml @@ -45,7 +45,7 @@ $(document).ready(function () { table = new DataTable('#example', { - ajax: '/Dinas/JenisNasabah/Table', + ajax: '/Master/JenisNasabah/Table', scrollX: true, autoWidth: false, initComplete: function () { diff --git a/Views/Master/JenisPengolahan/Index.cshtml b/Views/Master/JenisPengolahan/Index.cshtml index 3ce1d76..31661c3 100644 --- a/Views/Master/JenisPengolahan/Index.cshtml +++ b/Views/Master/JenisPengolahan/Index.cshtml @@ -44,7 +44,7 @@ $(document).ready(function () { table = new DataTable('#example', { - ajax: '/Dinas/JenisPengolahan/Table', + ajax: '/Master/JenisPengolahan/Table', scrollX: true, autoWidth: false, initComplete: function () { diff --git a/Views/Master/JenisSampah/Index.cshtml b/Views/Master/JenisSampah/Index.cshtml index c6a4cc3..f3a2987 100644 --- a/Views/Master/JenisSampah/Index.cshtml +++ b/Views/Master/JenisSampah/Index.cshtml @@ -44,7 +44,7 @@ $(document).ready(function () { table = new DataTable('#example', { - ajax: '/Dinas/JenisSampah/Table', + ajax: '/Master/JenisSampah/Table', scrollX: true, autoWidth: false, initComplete: function () { diff --git a/Views/Master/Kategori/Index.cshtml b/Views/Master/Kategori/Index.cshtml index ff75c01..d5ed4ee 100644 --- a/Views/Master/Kategori/Index.cshtml +++ b/Views/Master/Kategori/Index.cshtml @@ -44,7 +44,7 @@ $(document).ready(function () { table = new DataTable('#example', { - ajax: '/Dinas/Kategori/Table', + ajax: '/Master/Kategori/Table', scrollX: true, autoWidth: false, initComplete: function () { diff --git a/Views/Master/KategoriFasilitas/Index.cshtml b/Views/Master/KategoriFasilitas/Index.cshtml index 5f231ea..ad44eef 100644 --- a/Views/Master/KategoriFasilitas/Index.cshtml +++ b/Views/Master/KategoriFasilitas/Index.cshtml @@ -44,7 +44,7 @@ $(document).ready(function () { table = new DataTable('#example', { - ajax: '/Dinas/KategoriFasilitas/Table', + ajax: '/Master/KategoriFasilitas/Table', scrollX: true, autoWidth: false, initComplete: function () { diff --git a/Views/Master/KategoriSampah/Index.cshtml b/Views/Master/KategoriSampah/Index.cshtml index ccf2da7..373bb04 100644 --- a/Views/Master/KategoriSampah/Index.cshtml +++ b/Views/Master/KategoriSampah/Index.cshtml @@ -45,7 +45,7 @@ $(document).ready(function () { table = new DataTable('#example', { - ajax: '/Dinas/KategoriSampah/Table', + ajax: '/Master/KategoriSampah/Table', scrollX: true, autoWidth: false, initComplete: function () { diff --git a/Views/Master/Mitra/Index.cshtml b/Views/Master/Mitra/Index.cshtml index 79731f8..ce16ae0 100644 --- a/Views/Master/Mitra/Index.cshtml +++ b/Views/Master/Mitra/Index.cshtml @@ -44,7 +44,7 @@ $(document).ready(function () { table = new DataTable('#example', { - ajax: '/Dinas/Mitra/Table', + ajax: '/Master/Mitra/Table', scrollX: true, autoWidth: false, initComplete: function () { diff --git a/Views/Master/StatusLahan/Index.cshtml b/Views/Master/StatusLahan/Index.cshtml index fde15cb..bbaf8c2 100644 --- a/Views/Master/StatusLahan/Index.cshtml +++ b/Views/Master/StatusLahan/Index.cshtml @@ -44,7 +44,7 @@ $(document).ready(function () { table = new DataTable('#example', { - ajax: '/Dinas/StatusLahan/Table', + ajax: '/Master/StatusLahan/Table', scrollX: true, autoWidth: false, initComplete: function () { diff --git a/Views/Master/SubKategoriSampah/Index.cshtml b/Views/Master/SubKategoriSampah/Index.cshtml index 57e3ed6..f8d283d 100644 --- a/Views/Master/SubKategoriSampah/Index.cshtml +++ b/Views/Master/SubKategoriSampah/Index.cshtml @@ -46,7 +46,7 @@ $(document).ready(function () { table = new DataTable('#example', { - ajax: '/Dinas/SubKategoriSampah/Table', + ajax: '/Master/SubKategoriSampah/Table', scrollX: true, autoWidth: false, initComplete: function () { diff --git a/Views/Shared/_Layout.cshtml b/Views/Shared/_Layout.cshtml index d872d30..e8a5682 100644 --- a/Views/Shared/_Layout.cshtml +++ b/Views/Shared/_Layout.cshtml @@ -42,7 +42,7 @@
- +
@RenderBody() @@ -50,7 +50,7 @@
- +
diff --git a/Views/Wilayah/Kecamatan/Index.cshtml b/Views/Wilayah/Kecamatan/Index.cshtml index 8d7f821..f84d586 100644 --- a/Views/Wilayah/Kecamatan/Index.cshtml +++ b/Views/Wilayah/Kecamatan/Index.cshtml @@ -41,7 +41,7 @@ $(document).ready(function () { table = new DataTable('#example', { - ajax: '/Dinas/Kecamatan/Table', + ajax: '/Wilayah/Kecamatan/Table', scrollX: true, autoWidth: false, initComplete: function () { diff --git a/Views/Wilayah/Kelurahan/Index.cshtml b/Views/Wilayah/Kelurahan/Index.cshtml index b17b212..bcf4202 100644 --- a/Views/Wilayah/Kelurahan/Index.cshtml +++ b/Views/Wilayah/Kelurahan/Index.cshtml @@ -40,7 +40,7 @@ $(document).ready(function () { table = new DataTable('#example', { - ajax: '/Dinas/Kelurahan/Table', + ajax: '/Wilayah/Kelurahan/Table', scrollX: true, autoWidth: false, initComplete: function () { diff --git a/Views/Wilayah/Kota/Index.cshtml b/Views/Wilayah/Kota/Index.cshtml index 2551eb5..dd34598 100644 --- a/Views/Wilayah/Kota/Index.cshtml +++ b/Views/Wilayah/Kota/Index.cshtml @@ -40,7 +40,7 @@ $(document).ready(function () { table = new DataTable('#example', { - ajax: '/Dinas/Kota/Table', + ajax: '/Wilayah/Kota/Table', scrollX: true, autoWidth: false, initComplete: function () {