public ActionResult Create(string id)
        {
            if (!string.IsNullOrWhiteSpace(id))
            {
                using (SysMenuBLL bll = new SysMenuBLL())
                {
                    SysMenu entityId = bll.GetById(id);
                    if (entityId != null)
                    {
                        SysOperation entity = new SysOperation();
                        entity.SysMenuId = id + '&' + entityId.Name;
                        return View(entity);
                    }
                }
            }

            return View();
        }
示例#2
0
 public SysMenuController(SysMenuBLL bll)
 {
     m_BLL = bll;
 }