public ActionResult AjaxGetParentMenus(int level) { var menus = _menuDal.GetAll <Menu>().Where(p => p.MenuLevel == level - 1); return(PartialView(menus)); }