Ejemplo n.º 1
0
 public async Task<IEnumerable<ResponseDto.ApOlprrGetUstLookupDataStats>> Search(RequestDto.UstSearchFilter ustSearchFilter)
 {
     var searchFilters = _mapper.Map<RequestDto.UstSearchFilter, EntityDto.UstSearchFilter>(ustSearchFilter);
     var resultList = new List<ResponseDto.ApOlprrGetUstLookupDataStats>();
     foreach (var result in await _lustRepository.ApOlprrGetUstLookupData(searchFilters))
     {
         resultList.Add(_mapper.Map<EntityDto.ApOlprrGetUstLookupDataStats, ResponseDto.ApOlprrGetUstLookupDataStats>(result));
     }
     return resultList;
 }