public void StopEnv(string envId) { Environments.StopEnvironmentInternal(envId); Clients.All.signal( new InstanceStatus { Id = envId, Status = "Stopped" }); }
public string StopEnv([FromUri] string envId) { Environments.StopEnvironmentInternal(envId); SwitchHub.Value.Clients.All.signal( new InstanceStatus { Id = envId, Status = "Stopped" }); return("done"); }