public JsonResult GetDetail(Int32 ID) { List <T_InStockTaskDetailsInfo> modelList = new List <T_InStockTaskDetailsInfo>(); string strError = ""; tfunc_detail.GetModelListByHeaderIDForPc(ref modelList, ID, ref strError); return(Json(modelList, JsonRequestBehavior.AllowGet)); }