public IHttpActionResult IsRunning(Guid linkId) { var traceConfiguration = _traceRepository.GetRunningTranceConfiguration(linkId); var result = new RunningTraceConfiguration() { IsRunning = traceConfiguration != null, TraceConfiguration = traceConfiguration }; return(Ok(result)); }