Exemplo n.º 1
0
        public IActionResult Register(string deviceName)
        {
            DeviceStorage.RegisterDevice(DeviceStorage.GetDeviceByName(deviceName));
            ViewData["Message"] = "Settings general page.";

            return(View("Devices", DevModelHandler.deviceModel));
        }