public IActionResult StopRunningFile([FromQuery] String FileName) { try { string result = ComposerNew.StopService(FileName); var RunningList = ComposerNew.GetRunningServices(); return(View("RunningReadyFiles", RunningList)); } catch (Exception e) { Program.logger.Error("ERR_NO_SUCH_RUNNING_COMPOSE_FILE_FOUND: " + FileName); Program.logger.Error(e.Message); return(NotFound("ERR_NO_SUCH_RUNNING_COMPOSE_FILE_FOUND: " + FileName)); } }
public IActionResult DebugListRunning([FromQuery] string FileName) { return(Ok(ComposerNew.GetRunningServices())); }
public IActionResult RunningReadyFiles() { var RunningList = ComposerNew.GetRunningServices(); return(View(RunningList)); }