示例#1
0
        public IActionResult Create(ChallengeResultData data)
        {
            _netElementOption = new List <NetElement>
            {
                new NetElement {
                    Name = "Adaptador Wi-Fi USB"
                },
                new NetElement {
                    Name = "Placa de Red PCI"
                },
                new NetElement {
                    Name = "Conector RJ45"
                },
                new NetElement {
                    Name = "Conector RJ15"
                },
                new NetElement {
                    Name = "Conector RJ11"
                },
                new NetElement {
                    Name = "Extensor/Repetidor Wi-Fi"
                },
                new NetElement {
                    Name = "Hub"
                },
                new NetElement {
                    Name = "Router"
                },
                new NetElement {
                    Name = "Switch"
                },
                new NetElement {
                    Name = "Segmento de Cable 220V"
                },
                new NetElement {
                    Name = "Segmento de Cable UTP Categoría 4"
                },
                new NetElement {
                    Name = "Segmento de Cable UTP Categoría 5"
                },
                new NetElement {
                    Name = "Segmento de Cable UTP Categoría 6"
                }
            };
            data.NetElementOption = _netElementOption;


            data.Cable = _enumService.GetAllCableSelectable();
            return(View(data));
        }