public void Edit(DeviceModel vm)
        {
            DeviceData data          = new DeviceData(_config);
            var        updatedDevice = new DeviceModel()
            {
                Id                = vm.Id,
                Hostname          = vm.Hostname,
                IpAddress         = vm.IpAddress,
                MACAddress        = vm.MACAddress,
                Vendor            = vm.Vendor,
                UserId            = vm.UserId,
                DeviceDescription = vm.DeviceDescription
            };

            data.Edit(updatedDevice);
        }