예제 #1
0
        private ValidatePasswordResetRequestQuery CreateValidationQuery(CompleteUserPasswordResetCommand command)
        {
            var query = new ValidatePasswordResetRequestQuery();

            query.UserPasswordResetRequestId = command.UserPasswordResetRequestId;
            query.UserAreaCode = command.UserAreaCode;
            query.Token        = command.Token;

            return(query);
        }
        public InvalidPasswordResetRequestException(ValidatePasswordResetRequestQuery query, string message)
            : base(message)
        {
            if (query == null)
            {
                return;
            }

            UserPasswordResetRequestId = query.UserPasswordResetRequestId;
            Token        = query.Token;
            UserAreaCode = query.UserAreaCode;
        }
 public InvalidPasswordResetRequestException(ValidatePasswordResetRequestQuery query)
     : this(query, MESSAGE)
 {
 }