SyntaxFix
Write A Post
Hire A Developer
Questions
Try this
public ActionResult CreatePerson(string Enc) window.location = '@Url.Action("CreatePerson", "Person", new { Enc = "id", actionType = "Disable" })'.replace("id", id).replace("&", "&");
you will get the id inside the Enc string.