27 lines
823 B
C#
27 lines
823 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace BankSampahApp.Controllers.Main
|
|
{
|
|
[Route("Main/[controller]/[action]")]
|
|
public class ProfilNasabahController : Controller
|
|
{
|
|
public IActionResult Index()
|
|
{
|
|
return View("~/Views/Main/ProfilNasabah/Index.cshtml");
|
|
}
|
|
|
|
public IActionResult Edit()
|
|
{
|
|
return View("~/Views/Main/ProfilNasabah/Edit.cshtml");
|
|
}
|
|
|
|
[HttpPost]
|
|
public IActionResult Edit(string namaNasabah, string nik, string email, string noHp, string namaBank, string noRekening,
|
|
string alamat, string rt, string rw, string kodePos, string provinsi, string kota, string kecamatan, string kelurahan)
|
|
{
|
|
// TODO: Implement save logic
|
|
return RedirectToAction("Index");
|
|
}
|
|
}
|
|
}
|