public ActionResult GetListSimpleAll(string key) { var obj = key != Keyapi ? new List <MenuGroupsItem>() : _da.GetListSimpleAll(Agencyid()); return(Json(obj, JsonRequestBehavior.AllowGet)); }
public ActionResult Index() { var model = _menuGroupsDa.GetListSimpleAll(Utility.AgencyId); return(View(model)); }