public ActionResult SaveData(FormCollection data) { var name = data["name"]; var email = data["email"]; // do something with the data return View(); }
public ActionResult Logout() { Session.Abandon(); return RedirectToAction("Index", "Home"); }The MvcContext library is not an actual package or library in C#. It is likely that this is a custom library created by a developer or company specifically for their projects.