public IActionResult StopAutoDetection(int configurationId) { PTMKernelService.StopDetection(configurationId, () => { }); return(Ok()); }