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

            ViewBag.List = BLMenuType.GetList(IdMenu);

            return(View());
        }
Example #2
0
        public override ActionResult Item(decimal?id)
        {
            ViewBag.MenuTypes = BLMenuType.GetList(IdMenu);

            return(base.Item(id));
        }