Best way to prepare C # objects in separate methods
2 answers
Are you setting properties of existing objects User
or creating new ones?
If you are just changing existing objects, then there is no reason why you want them back, this is overkill. Worse, it is misleading - the client will think that their objects are intact and that you are creating new objects when in fact they are not.
If you create new ones, then you obviously need to return them.
+4
source to share