public async Task <ActionResult <Reading> > Post(Guid sensorId, [FromBody] ReadingRequest request) { var reading = _converter.ToReadingValue(request); var result = await _services.Create(sensorId, reading); if (result == null) { return(NotFound("Reading does not exist")); } return(Ok(_converter.ToReadingResponse(result))); }