@@ -132,7 +132,10 @@ public class TrialFileTypeService(IRepository<TrialFileType> _trialFileTypeRepos
|
||||
/// <returns></returns>
|
||||
public async Task<GetTrialFileTypeDataOutDto> GetTrialFileTypeData(GetTrialFileTypeDataInDto inDto)
|
||||
{
|
||||
|
||||
await this.CopySystemFileTypeToTrial(new CopySystemFileTypeToTrialInDto()
|
||||
{
|
||||
TrialId = inDto.TrialId
|
||||
});
|
||||
var trialFileTypeList = await _trialFileTypeRepository.Where(x=>x.TrialId==inDto.TrialId)
|
||||
.WhereIf(inDto.IsCheck, x => x.IsEnable)
|
||||
.OrderBy(x=>x.ShowOrder)
|
||||
|
||||
Reference in New Issue
Block a user