public async Task <ActionResult <Reading> > Put(Guid id, [FromBody] ReadingRequest request) { var reading = _converter.ToReadingValue(request); var response = await _services.Update(id, reading); if (request == null) { return(NotFound()); } return(Ok(_converter.ToReadingResponse(response))); }