コード例 #1
0
        public ActionResult GetUserList(string keyword)
        {
            var rm    = new ReturnMessage();
            var query = new QueryDocument();
            var list  = AppService.GetListServiceAlertContactsInfos(query);

            rm.result = list;
            rm.code   = 200;
            return(Json(rm, JsonRequestBehavior.AllowGet));
        }
コード例 #2
0
        public ActionResult GetUserList(string keyword)
        {
            ReturnMessage RM    = new ReturnMessage();
            QueryDocument query = new QueryDocument();
            List <ServiceAlertContactsInfo> list = new List <ServiceAlertContactsInfo>();

            list      = appService.GetListServiceAlertContactsInfos(query);
            RM.result = list;
            RM.code   = 200;
            return(Json(RM, JsonRequestBehavior.AllowGet));
        }