Cara Mendapatkan URL Halaman Sebelumnya Aspnet Core
public async Task<IActionResult> Edit(int? id)
{
...
...
ViewBag.returnUrl = Request.Headers["Referer"].ToString();
return View(customer);
}
Dizzy Dogfish