public List <HostState> startStopHost(int id, bool start) { CurrentContext.Validate(); HostState.StartStopHost(id, start); return(HostState.EnumUsed()); }
public List <HostState> OnlineHost(int id) { CurrentContext.Validate(); HostState.OnlineHost(id); return(HostState.EnumUsed()); }
public List <HostState> getHosts() { CurrentContext.Validate(); return(HostState.EnumUsed()); }