Esempio n. 1
0
        public override ActionResult Index()
        {
            IdMenu = !string.IsNullOrEmpty(Request.Form["id"]) ? Convert.ToDecimal(Request.Form["id"]) : (decimal?)null ?? IdMenu;

            ViewBag.List = BLMenuItem.GetList(IdMenu);

            return(View());
        }
Esempio n. 2
0
        public override ActionResult Item(decimal?id)
        {
            ViewBag.MenuItens = BLMenuItem.GetList((decimal?)ENMenu.Publico);

            return(base.Item(id));
        }