.net mvc passing data between controllers code example
Example: pass data from one controller to another controller mvc
public ActionResult Index()
{
TempData["mydata"] = data;
}
public ActionResult Index()
{
TempData["mydata"] = data;
}