public ActionResult <IEnumerable <Measurement> > GetLatestMeasurement(string macAddress)
        {
            var measurements = _measurementService.GetLastMeasurement(macAddress);

            var measurementDtos = MeasurementMapper.ToDto(measurements);

            if (measurementDtos == null || !measurementDtos.Any())
            {
                return(NotFound());
            }

            return(Ok(measurementDtos));
        }