I have two action results in my Controller. Overview and About.
public ActionResult Overview(int id)
{
return View(new OverviewModel() { Project = db.People.Find(id) });
}
public ActionResult About(int id)
{
return View(new AboutModel() { Project = db.People.Find(id) });
}
I would like to remember the id that was passed in to Overview and use it on the About as the default. I don't know how to keep this Id constant while the user switches tabs from Overview to About.