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)); }
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)); }