I have a method written in my controller. I am passing values to this controller as querystring. The sample url to that controller method is:
My controller method has following definition:
[AcceptVerbs(HttpVerbs.Get)]
public ActionResult Enter(
string legacySessionId,
string RedirectPath,
string siteSubdomain = "",
bool isDuplicate = false,
int id = 0
)
Inside this controller method when I get the querystring value for RedirectPath it only gives:
RedirectPath="/Folio/OfflineDocument/EnqueueDocumentGenerationRequest/?FolderId=acf7egfsc0clz6ei"
Whereas the expected result is :
RedirectPath="/Folio/OfflineDocument/EnqueueDocumentGenerationRequest/?FolderId=acf7egfsc0clz6ei&CourseId=vhvgyhgvhgvyy7yty"
It is missing "CourseId" part. Can someone point out the issue?