Example #1
0
        //public ActionResult GetAttribute(string key, string lstInts, int id)
        //{
        //    var obj = key != Keyapi ? new List<AttributeDynamicItem>() : _attrDa.GetAttribute(lstInts, id);
        //    return Json(obj, JsonRequestBehavior.AllowGet);
        //}
        public ActionResult CheckExitCode(string key, string code, int id, int agencyId)
        {
            var b = key == Keyapi && _da.CheckExitCode(code, id, agencyId);

            return(Json(b ? 1 : 0, JsonRequestBehavior.AllowGet));
        }