I need to pass list of objects from one controller to another controller. i have read the similar questions's answers but nothing could help me. here is code of first controller :
[HttpPost]
public ActionResult Admin_Mgmt(List<thing> things, int Action_Code)
{
switch (Action_Code)
{
case 1:
{ //redirecting requesting to another controller
return RedirectToAction("Quran_Loading", "Request_Handler",things);
}
default:
...
}
}
Request_Handler code :
public class Request_HandlerController : Controller
{
public ActionResult Quran_Loading(List<thing> thin)
{...}
}
but problem is that list in Quran_Loading method is null. any idea ?