PRN212 assignment project.
General rule:
- Repo log then throw exception
- Services process exception/send user messages
- update account => re pass account to window
Bussiness rule 0. All user infos must be completely filled when registering an account.
- Username must be between 3 and 20 characters long.
- Email must be a valid email.
- Password must be between 3 and 10 characters long.
- Fullname must be between 3 and 30 characters long.
- Phone number must be a valid phone number.