how to transfer data from one controller to another in mvc code example
Example: pass data from one controller to another controller mvc
public ActionResult Index()
{
TempData["mydata"] = data;
}
public ActionResult Index()
{
TempData["mydata"] = data;
}