diff --git a/Views/Main/Profil/Edit.cshtml b/Views/Main/Profil/Edit.cshtml
index f6508b0..1c0c146 100644
--- a/Views/Main/Profil/Edit.cshtml
+++ b/Views/Main/Profil/Edit.cshtml
@@ -179,6 +179,32 @@
+
+
+
+
+
+
+
+
@@ -358,5 +384,26 @@
initialLng: 106.8456,
initialZoom: 12
});
+
+ $.ajax({
+ url: '/Master/JenisBankSampah/table', // Ganti sesuai endpoint kamu
+ method: 'GET',
+ dataType: 'json',
+ success: function (response) {
+ // Buat HTML option dengan map
+ let options = response.data
+ .map(item => ``)
+ .join("");
+
+ // Masukkan ke dropdown
+ $("#jenis_bank_sampah").html(`
+
+ ${options}
+ `);
+ },
+ error: function () {
+ console.error('Gagal memuat data jenis bank sampah.');
+ }
+ });
}
\ No newline at end of file