Because you do this:
db.Weights.Add(Model);
instead of this:
db.Weights.Add(weight);
This is a very good reason to have ViewModel
classes that are not your DomainModel
classes. If the ViewModel
were a different Type
the Add
to the database context would have failed with a compilation error.