public IActionResult Get(int id) { var meter = _monitor.GetMeter(id); if (meter != null) { return(Ok(meter)); } return(NotFound()); }