I'm using Entity Framework 4. I'm not really sure where the responsibility of setting a user's password should be. I thought about on the Repository like SetPassword(User user, string password)
. But it doesn't seem right.
The main problem is that it can't just be a simple property setter since I also return the salt that's generated.