Prefix is what you need:
ActionResult MyAction( [Bind(Prefix="resName")] String resourceName )
However, doing a http://address/Controller/MyAction?resourceName=name won’t work with that setup.
Prefix is what you need:
ActionResult MyAction( [Bind(Prefix="resName")] String resourceName )
However, doing a http://address/Controller/MyAction?resourceName=name won’t work with that setup.