Exemple #1
0
        /** Add a new computer */
        public IComputer AddComputer(string macAddress)
        {
            var computer = new Computer
            {
                Name       = Environment.MachineName,
                MacAddress = macAddress
            };

            return(_dataBaseService.AddComputer(computer));
        }