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()); }
public override ActionResult Item(decimal?id) { ViewBag.MenuTypes = BLMenuType.GetList(IdMenu); return(base.Item(id)); }