Uat_Study
parent
8eb5476f8e
commit
a845dc536e
|
@ -133,7 +133,7 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
public async Task<List<QCQuestionView>> GetQuestionView(QCQuestionViewInDto inDto)
|
public async Task<List<QCQuestionView>> GetQuestionView(QCQuestionViewInDto inDto)
|
||||||
{
|
{
|
||||||
var question = new List<QCQuestionView>();
|
var question = new List<QCQuestionView>();
|
||||||
if (inDto.TrialId== null)
|
if (inDto.TrialId!= null)
|
||||||
{
|
{
|
||||||
question = await _trialQCQuestionRepository.Where(x => x.TrialId == inDto.TrialId).OrderBy(x => x.ShowOrder).ProjectTo<QCQuestionView>(_mapper.ConfigurationProvider).ToListAsync();
|
question = await _trialQCQuestionRepository.Where(x => x.TrialId == inDto.TrialId).OrderBy(x => x.ShowOrder).ProjectTo<QCQuestionView>(_mapper.ConfigurationProvider).ToListAsync();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue