Example #1
0
        public List <string> GetAllSwitches()
        {
            try
            {
                List <string> retVal = controller.GetAllSwitches();

                retVal.Insert(0, "");

                return(retVal);
            }
            catch (Exception e)
            {
                logger.Log("Got exception in GetSwitchList: " + e);
                return(new List <string>()
                {
                    e.Message
                });
            }
        }