Exemplo n.º 1
0
        public ActionResult ListItemsStatic(int areaId)
        {
            var obj = Request["key"] != Keyapi
                ? new ModelAgencyItem()
                : new ModelAgencyItem {
                ListItem = _da.GetListSimpleByRequestStatic(Request, EnterprisesId(), areaId), PageHtml = _da.GridHtmlPage
            };

            return(Json(obj, JsonRequestBehavior.AllowGet));
        }