I am using RedirectToAction method and i want to pass two route parameters but its not redirecting to specified action method.
I am using following code:
return RedirectToAction("abcd", "Registration", new { id = "", loginType = "pqr" });
and the specified action method signature is as :
public ActionResult abcd(string id, string loginType = null)
Is there any mistake in signature??
Thanks...