//public ActionResult GetModelList(DividPage page, T_InStockInfo model) //{ // List<T_InStockInfo> modelList = new List<T_InStockInfo>(); // string strError = ""; // tfunc.GetModelListByPage(ref modelList, Common.Commom.currentUser, model, ref page, ref strError); // ViewData["PageData"] = new PageData<T_InStockInfo> { data = modelList, dividPage = page, link = Common.PageTag.ModelToUriParam(model, "/OutStock/GetModelList") }; // return View("InStockList", model); //} public JsonResult GetDetail(Int32 ID) { List <T_InStockDetailInfo> modelList = new List <T_InStockDetailInfo>(); string strError = ""; //tfunc.GetModelListByHeaderID(ref modelList,ID,ref strError); tfunc_detail.GetModelListByHeaderID(ref modelList, ID, ref strError); return(Json(modelList, JsonRequestBehavior.AllowGet)); }
public bool GetAllT_InStockDetailByHeaderID(ref List <T_InStockDetailInfo> modelList, int headerID, ref string strError) { T_InStockDetail_Func tfunc = new T_InStockDetail_Func(); return(tfunc.GetModelListByHeaderID(ref modelList, headerID, ref strError)); }