public async Task <IActionResult> AddMeasurement(long id, Measurement measurement)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            measurement.TemperatureSensorId = id;

            await _dataRepository.AddMeasurementAsync(measurement);

            return(Ok(measurement));
        }