public JsonResult RefreshInstancesByState(string userId, string mobileToken, string keyWord, int instanceState, DateTime lastTime) { userId = AppUtility.RegParam(userId); if (this.UserValidator == null) { return(Json(new { }, JsonRequestBehavior.AllowGet)); } ; var result = this.RefreshInstancesByState(userId, keyWord, lastTime, instanceState); return(Json(result, JsonRequestBehavior.AllowGet)); }
public JsonResult LoadInstancesByState(string userId, string mobileToken, string keyWord, int instanceState, int loadStart) { userId = AppUtility.RegParam(userId); if (this.UserValidator == null) { return(Json(new { }, JsonRequestBehavior.AllowGet)); } ; var result = this.LoadInstances(userId, Server.UrlDecode(keyWord), instanceState, loadStart); return(Json(result, JsonRequestBehavior.AllowGet)); }
public JsonResult ReadCirculateItems(string userId, string mobileToken, string CirculateItemIDs, bool ReadAll) { userId = AppUtility.RegParam(userId); CirculateItemIDs = AppUtility.RegParam(CirculateItemIDs); if (this.UserValidator == null) { return(Json(new { }, JsonRequestBehavior.AllowGet)); } ; var result = this.ReadCirculateItemsByBatchFn(userId, mobileToken, CirculateItemIDs, ReadAll); return(Json(result, JsonRequestBehavior.AllowGet)); }
public JsonResult RefreshCirculateItems(string userId, string mobileToken, string keyWord, DateTime lastTime, bool readWorkItem, int existsLength) { userId = AppUtility.RegParam(userId); keyWord = AppUtility.RegParam(keyWord); if (this.UserValidator == null) { return(Json(new { }, JsonRequestBehavior.AllowGet)); } ; var result = this.RefreshCirculateItemFn(userId, mobileToken, keyWord, lastTime, readWorkItem, existsLength); if (result == null) { return(Json(new { }, JsonRequestBehavior.AllowGet)); } ; return(Json(result, JsonRequestBehavior.AllowGet)); }