Example #1
0
        public async Task <List <Machine> > GetMachines(string UserID)
        {
            DockerMachine docker = new DockerMachine(UserID);

            return(docker.GetMachines());
        }
        public async Task <IActionResult> GetMachines()
        {
            DockerMachine docker = new DockerMachine((string)await GetUserIDAsync());

            return(Ok(docker.GetMachines()));
        }