/// <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(); }
public CreateFirstTimeSsoUserPreLogicValidationStrategy(UserAccountDto userAccountDto) { _userAccountDto = userAccountDto; _userAccountDtoValidator = new UserAccountDtoValidator(); _userValidator = new UserValidator(); }