示例#1
0
 /// <summary>
 /// Defines a strategy for validating models before processing business logic
 /// before preforming CRUD Operations.
 /// The constructor
 /// @author Angelica Salas Tovar, Jennifer Nguyen
 /// </summary>
 /// <param name="userAccountDto"></param>
 public UsernameValidationStrategy(UserAccountDto userAccount)
 {
     _userAccountDto          = userAccount;
     _userAccountDtoValidator = new UserAccountDtoValidator();
     _userValidator           = new UserValidator();
 }
示例#2
0
 public CreateFirstTimeSsoUserPreLogicValidationStrategy(UserAccountDto userAccountDto)
 {
     _userAccountDto          = userAccountDto;
     _userAccountDtoValidator = new UserAccountDtoValidator();
     _userValidator           = new UserValidator();
 }