public ISet <MeasurementDto> GetAll()
 {
     return(TracedOperation.CallSync
            (
                _logger,
                MeasurementOperationType.GetAllMeasurements,
                "none",
                () => _repository.FindAll()
                .Select(MeasurementDto.FromDomain)
                .ToHashSet()
            ));
 }
예제 #2
0
 public List <MeasurementDomain> ReadMeasurements()
 => _measurementRepository.FindAll()
 //.Where(measurement => measurement.IsCurrent)
 .ToList();