Uat_Study
			
			
		
		
						commit
						1052be18d4
					
				| 
						 | 
					@ -72,15 +72,14 @@ namespace IRaCIS.Core.Application.Service
 | 
				
			||||||
        public async Task<IResponseOutput> SetTrialEmail(SetTrialEmailInDto inDto)
 | 
					        public async Task<IResponseOutput> SetTrialEmail(SetTrialEmailInDto inDto)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            await TestEmailConfigAsync(new TrialEmailNoticeConfigAddOrEdit()
 | 
					            await TestEmailConfigAsync(new TrialEmailNoticeConfigAddOrEdit() { 
 | 
				
			||||||
            {
 | 
					             
 | 
				
			||||||
 | 
					             AuthorizationCode=inDto.EmailAuthorizationCode,
 | 
				
			||||||
                AuthorizationCode = inDto.EmailAuthorizationCode,
 | 
					             FromEmail=inDto.EmailFromEmail,
 | 
				
			||||||
                FromEmail = inDto.EmailFromEmail,
 | 
					             FromName=inDto.EmailFromName,
 | 
				
			||||||
                FileName = inDto.EmailFromName,
 | 
					             SMTPServerAddress=inDto.EmailSMTPServerAddress,
 | 
				
			||||||
                SMTPServerAddress = inDto.EmailSMTPServerAddress,
 | 
					             SMTPServerPort= inDto.EmailSMTPServerPort.Value,
 | 
				
			||||||
                SMTPServerPort = inDto.EmailSMTPServerPort.Value,
 | 
					             TrialId=inDto.TrialId,
 | 
				
			||||||
                TrialId = inDto.TrialId,
 | 
					 | 
				
			||||||
            });
 | 
					            });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            await _trialRepository.UpdatePartialFromQueryAsync(inDto.TrialId, x => new Trial()
 | 
					            await _trialRepository.UpdatePartialFromQueryAsync(inDto.TrialId, x => new Trial()
 | 
				
			||||||
| 
						 | 
					@ -100,7 +99,7 @@ namespace IRaCIS.Core.Application.Service
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                AuthorizationCode = inDto.EmailAuthorizationCode,
 | 
					                AuthorizationCode = inDto.EmailAuthorizationCode,
 | 
				
			||||||
                FromEmail = inDto.EmailFromEmail,
 | 
					                FromEmail = inDto.EmailFromEmail,
 | 
				
			||||||
                FileName = inDto.EmailFromName,
 | 
					                FromName = inDto.EmailFromName,
 | 
				
			||||||
                SMTPServerAddress = inDto.EmailSMTPServerAddress,
 | 
					                SMTPServerAddress = inDto.EmailSMTPServerAddress,
 | 
				
			||||||
                SMTPServerPort = inDto.EmailSMTPServerPort.Value,
 | 
					                SMTPServerPort = inDto.EmailSMTPServerPort.Value,
 | 
				
			||||||
            });
 | 
					            });
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1506,6 +1506,9 @@ namespace IRaCIS.Application.Services
 | 
				
			||||||
         
 | 
					         
 | 
				
			||||||
            if (inDto.RowId == null)
 | 
					            if (inDto.RowId == null)
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                //await _readingTableAnswerRowInfoRepository.BatchDeleteNoTrackingAsync(x => x.VisitTaskId == inDto.VisitTaskId && x.RowIndex == inDto.RowIndex && x.QuestionId == inDto.QuestionId);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                List<ReadingTableQuestionAnswer> answerList = inDto.AnswerList.Select(x => new ReadingTableQuestionAnswer()
 | 
					                List<ReadingTableQuestionAnswer> answerList = inDto.AnswerList.Select(x => new ReadingTableQuestionAnswer()
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
                    Answer = x.Answer,
 | 
					                    Answer = x.Answer,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue