예제 #1
0
        public List <SelectListItem> GetController()
        {
            var list = (from m in STUtil.GetControllerNames()

                        select new SelectListItem
            {
                Value = m.Replace("Controller", ""),
                Text = m.Replace("Controller", "")
            }).ToList();

            return(list);
        }