If I have the following:
[HttpPost]
public ActionResult DeclineClaims(String button, String[] Decline)
{
if (button == "claim")
{
return RedirectToAction("NewExpense", "Claim", new { Create = Decline });
}
....
....
}
and receive it via the RedirectToAction here:
public ActionResult NewExpense(String[] Create)
{
...
}
'Create' in the second action is an empty string. This problem does not occur with standard Int and Strings.
How should I handle the String array?