I would like to have the following signature of a MVC controller.
public ActionResult Create(Persons[] p)
{
}
Is it possible to have something like this?
EDIT: Let's say I would like to obtain an array of person objects by submitting a list of names separated by a special symbol. For example I submit a form
<form>
<input name="person_name">Max|Alex|Andrew</input>
</form>
I suppose it should be done by implementing a IModelBinder interface but I didn't find any example how to do this.