}; // Acceptable image extensions /// <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 ImageUploadValidationStrategy(UserProfileDto userProfileDto, HttpPostedFile image) { _userProfileDto = userProfileDto; _userProfileDtoValidator = new UserProfileDtoValidator(); _userValidator = new UserValidator(); _image = image; }
public EditUserProfilePreLogicValidationStrategy(UserProfileDto userProfileDto) { _userProfileDto = userProfileDto; _userProfileDtoValidator = new UserProfileDtoValidator(); }