Or you could do:
1. Insert new User instance 2. Unique constraint violation? Tell user that the username is already registered.
1. Insert new User instance 2. Unique constraint violation? Tell user that the username is already registered.
No comments yet.