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