I have a model that contains a List<PhoneNumber>
property. I use TryUpdateModel in my update actions. Adding new numbers and changing existing numbers works fine. Removing existing numbers, however, works only if I don't try to remove everything. If I remove everything from the list, none of the items get deleted.
I realize that this is probably by design, but what's the recommended approach for dealing with this problem?