public async Task<IEnumerable<ResponseDto.ApOlprrGetIncidentsStats>> GetIncidentsStats(string office, string status, string siteType, string olprrId , int sortColumn, int sortOrder, int pageNumber, int rowsPerPage) { var resultList = new List<ResponseDto.ApOlprrGetIncidentsStats>(); foreach (var result in await _lustRepository.ApOlprrGetIncidentsStats(office, status, siteType, olprrId, sortColumn, sortOrder, pageNumber, rowsPerPage)) { resultList.Add(_mapper.Map<EntityDto.ApOlprrGetIncidentsStats, ResponseDto.ApOlprrGetIncidentsStats>(result)); } return resultList; }