コード例 #1
0
 public async Task<IEnumerable<ResponseDto.ApGetLustSearchDataStats>> Search(RequestDto.LustSearchFilter lustSearchFilter)
 {
     var searchFilters = _mapper.Map<RequestDto.LustSearchFilter, EntityDto.LustSearchFilter>(lustSearchFilter);
     var resultList = new List<ResponseDto.ApGetLustSearchDataStats>();
     foreach (var result in await _lustRepository.ApGetLustSearchData(searchFilters))
     {
         resultList.Add(_mapper.Map<EntityDto.ApGetLustSearchDataStats, ResponseDto.ApGetLustSearchDataStats>(result));
     }
     return resultList;
 }