Esempio n. 1
0
        public ActionResult Menu()
        {
            SYSMENU_BUS        bus          = new SYSMENU_BUS();
            string             functionlist = ses.getFunctionList();
            List <SYSMENU_OBJ> li           = bus.getAdmin(ses.gUNIVERSITYCODE, functionlist);

            foreach (SYSMENU_OBJ obj in li)
            {
                if (string.IsNullOrEmpty(obj.ICON))
                {
                    obj.ICON = "fa-circle-o";
                }
            }
            bus.CloseConnection();
            return(View(li));
        }