In my domain layer, I have a class called 'Client'. Normally I would only create properties that directly relate to that client in the class, eg - 'Firstname', 'Lastname', 'Address' etc.. as well as client related methods.
My question is, would it be considered bad OO design to add a method to this class that performs work on a collection of clients?
E.g. - lets say that there is an operation that I want to perform on a Client such as updating their email address. Before I will do this I want to make sure there are no other clients with the same email address so I create a method off the Client class called ValidateEmail(string emailAddress).
Inside this method a repository of Clients is queried for any existing client with that email address and returns a boolean value.
Would this be considered bad OO design? I would rather not have to create any other classes or fill up the UI layer - controller logic with this validation and it seems to fit the Client class however it feels like performing operations on siblings isnt quite right..
Thanks