Exemplo n.º 1
0
        public void StopEnv(string envId)
        {
            Environments.StopEnvironmentInternal(envId);

            Clients.All.signal(
                new InstanceStatus
            {
                Id     = envId,
                Status = "Stopped"
            });
        }
Exemplo n.º 2
0
        public string StopEnv([FromUri] string envId)
        {
            Environments.StopEnvironmentInternal(envId);

            SwitchHub.Value.Clients.All.signal(
                new InstanceStatus
            {
                Id     = envId,
                Status = "Stopped"
            });

            return("done");
        }