Exemple #1
0
        public void UpdatePassCode(string ResponseId, string Passcode)
        {
            // convert DTO to  UserAuthenticationRquest
            _PassCodeDTO.ResponseId = ResponseId;
            _PassCodeDTO.PassCode   = Passcode;
            UserAuthenticationRequest AuthenticationRequestObj = Mapper.ToUserAuthenticationObj(_PassCodeDTO);

            SurveyHelper.UpdatePassCode(AuthenticationRequestObj, _iSurveyAnswerRepository);
        }
Exemple #2
0
        public void UpdatePassCode(string responseId, string passcode)
        {
            // convert DTO to  UserAuthenticationRquest
            var passCodeDTO = new PassCodeDTO {
                ResponseId = responseId, PassCode = passcode
            };
            UserAuthenticationRequest authenticationRequest = passCodeDTO.ToUserAuthenticationObj();

            SurveyHelper.UpdatePassCode(authenticationRequest, _securityDataService);
        }