예제 #1
0
        public JsonResult UserHistory(int C_BPartner_ID, int pageSize, int pageNo, Ctx ctx, string searchText)
        {
            Ctx ct = Session["ctx"] as Ctx;
            AttachmentHistoryModel    model   = new AttachmentHistoryModel();
            RealtedHistoryInfoDetails hisIfno = model.Userhistory(C_BPartner_ID, pageSize, pageNo, ct, searchText);

            return(Json(JsonConvert.SerializeObject(hisIfno), JsonRequestBehavior.AllowGet));
        }
예제 #2
0
        public JsonResult RelatedHistory(int keyColumnID, int pageSize, int pageNo, string searchText, string keyColName)
        {
            Ctx ct = Session["ctx"] as Ctx;
            AttachmentHistoryModel    model   = new AttachmentHistoryModel();
            RealtedHistoryInfoDetails hisIfno = model.history(keyColumnID, pageSize, pageNo, ct, searchText, keyColName);

            return(Json(JsonConvert.SerializeObject(hisIfno), JsonRequestBehavior.AllowGet));
        }