I recall the MVC function, which allows you to influence the original object, with which you can get the parameter values for this method.
public ActionResult Foo([SomethingHere] int parameter)
{
return View();
}
In brackets "[SomethingHere]" will contain a member called "parameter", which MVC will then try to get from int. I forgot what is called this function and my google fu is apparently weak. What is called?
source
share