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(); }
public SysMenuController(SysMenuBLL bll) { m_BLL = bll; }