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