I have a use case in wich a user will be created if its ID is
null, or updated otherwise.
What would be the preferrable approach?
a) My business services layer provides both createUser() and
updateUser(), and I determine wich one to call inside my
Action (by testing user.getId() ), or:
b) My
On Sun, 01 Jun 2003 17:54:06 -0300, José Ventura wrote:
> I have a use case in wich a user will be created if its ID is null, or
> updated otherwise.
>
> What would be the preferrable approach?
>
> a) My business services layer provides both createUser() and
> updateUser(), and I determine wich
2 matches
Mail list logo