I am having the following code:
public ActionResult EditTrain(EditTraing editrain)
{
....
....
return RedirectToAction("Details", new { id = "200241"});
}
Once I am in the Details Action, I like to check who the referrer was. In this case, I would be the EditTrain. Is there anyway I can figure out what Action the Redirection came from?
Either use TempData or pass the information in the redirect itself.