Test.EIImageViewer
commit
1052be18d4
|
@ -72,15 +72,14 @@ namespace IRaCIS.Core.Application.Service
|
|||
public async Task<IResponseOutput> SetTrialEmail(SetTrialEmailInDto inDto)
|
||||
{
|
||||
|
||||
await TestEmailConfigAsync(new TrialEmailNoticeConfigAddOrEdit()
|
||||
{
|
||||
|
||||
AuthorizationCode = inDto.EmailAuthorizationCode,
|
||||
FromEmail = inDto.EmailFromEmail,
|
||||
FileName = inDto.EmailFromName,
|
||||
SMTPServerAddress = inDto.EmailSMTPServerAddress,
|
||||
SMTPServerPort = inDto.EmailSMTPServerPort.Value,
|
||||
TrialId = inDto.TrialId,
|
||||
await TestEmailConfigAsync(new TrialEmailNoticeConfigAddOrEdit() {
|
||||
|
||||
AuthorizationCode=inDto.EmailAuthorizationCode,
|
||||
FromEmail=inDto.EmailFromEmail,
|
||||
FromName=inDto.EmailFromName,
|
||||
SMTPServerAddress=inDto.EmailSMTPServerAddress,
|
||||
SMTPServerPort= inDto.EmailSMTPServerPort.Value,
|
||||
TrialId=inDto.TrialId,
|
||||
});
|
||||
|
||||
await _trialRepository.UpdatePartialFromQueryAsync(inDto.TrialId, x => new Trial()
|
||||
|
@ -100,7 +99,7 @@ namespace IRaCIS.Core.Application.Service
|
|||
{
|
||||
AuthorizationCode = inDto.EmailAuthorizationCode,
|
||||
FromEmail = inDto.EmailFromEmail,
|
||||
FileName = inDto.EmailFromName,
|
||||
FromName = inDto.EmailFromName,
|
||||
SMTPServerAddress = inDto.EmailSMTPServerAddress,
|
||||
SMTPServerPort = inDto.EmailSMTPServerPort.Value,
|
||||
});
|
||||
|
|
|
@ -1506,6 +1506,9 @@ namespace IRaCIS.Application.Services
|
|||
|
||||
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()
|
||||
{
|
||||
Answer = x.Answer,
|
||||
|
|
Loading…
Reference in New Issue