This is a long one.
So, I have a model and a viewmodel that I\'m updating from an AJAX request. Web API controller receives the viewmodel, which I then update the ex
According to the AutoMapper source file that handles all ICollection (among other things) and the ICollection Mapper:
The collection is cleared by a call to Clear() then added again, so as far as I can see there is no way that AutoMapper will be able to automagically do the mapping this time.
I would implement some logic to loop over the collections and AutoMapper.Map the ones that are the same