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