I'm trying to bind the selections in a multiple selection SELECT, to an IList input in the controller.
<select name="users" multiple="multiple">
<option>John</option>
<option>Mary</option>
</select>
class User
{
public string Name { get; set; }
}
//Action
void Update(IList<User> users)
{
}
I've tried renaming the select as "users", "users.Name" or "users.User.Name" without success.