2 ms·
Because now your client needs to know what parts of the object need to be updated when a customer moves, and explain to the server exactly what those changes sh
by jameshart 12y ago
Because now your client needs to know what parts of the object need to be updated when a customer moves, and explain to the server exactly what those changes should be; and the server has to know how to validate that the client made a valid set of changes to the customer object.
If you instead have the client tell the server what kind of change you want to make, and provide the parameters to the operation, the server can do everything that needs to be done and the client doesn't need to care.