Ejemplo n.º 1
0
 public async Task<ResponseDto.IncidentDataById> GetIncidentDataById(int olprrId)
 {
     foreach (var result in await _lustRepository.ApOlprrGetIncidentDataById(olprrId))
     {
         return(_mapper.Map<EntityDto.ApOlprrGetIncidentDataById, ResponseDto.IncidentDataById>(result));
     }
     return null;
 }