Example #1
0
        public ActionResult GetListSimpleAll(string key)
        {
            var obj = key != Keyapi ? new List <MenuGroupsItem>() : _da.GetListSimpleAll(Agencyid());

            return(Json(obj, JsonRequestBehavior.AllowGet));
        }
Example #2
0
        public ActionResult Index()
        {
            var model = _menuGroupsDa.GetListSimpleAll(Utility.AgencyId);

            return(View(model));
        }