Example #1
0
 private void ValidateUser(User user)
 {
     if (!UserValidation.IsValid(user))
     {
         throw new ArgumentException("User not valid");
     }
 }