示例#1
0
        public ActionResult GetAll(string key)
        {
            var obj = key != Keyapi ? new List <CompanyItem>() : _da.GetAll();

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