Esempio n. 1
0
        public void Run(string[] args)
        {
            var machinesTask = _machineService.GetAllMachinesAsync();

            foreach (var machine in machinesTask.Result)
            {
                System.Console.WriteLine($"MachineId: {machine.MachineId}, Name: {machine.Name}");
            }
        }