Is it possible to check in an action, which action it was called by?
Sounds a little bit confusing but i try to explain in a short example
public IActionResult CallerAction1(){
return Redirect("CalledAction")
}
public IActionResult CallerAction2(){
return Redirect("CalledAction")
}
public IActionResult CalledAction(){
// Who called me? Who redirected to me? 1 or 2?
return View();
}