public ActionResult Post2ForeignTrade13(string caseNum) { var address = ""; //BaseAuditDAL dal = new BaseAuditDAL(); //List<string> nums = new List<string>(); //foreach (string s in nums) //{ // //.ToList().Select(t => new BaseAuditViewModel().CastModel(t)); // BaseAuditViewModel item = (new BaseAuditViewModel()).CastModel(dal.GetbyCaseNum(s)); //} List <BaseAuditViewModel> baseAuditList = new List <BaseAuditViewModel>(); BaseAuditDAL dal = new BaseAuditDAL(); BaseAuditViewModel item = (new BaseAuditViewModel()).CastModel(dal.GetbyCaseNum(caseNum)); baseAuditList.Add(item); var transM = new ApplicationImport(baseAuditList); //var result = ; //var br = new BaseResponse<object>() //{ // Data = result.Data, // Message = new[] { result.Message }, // Status = result.Status //}; return(Json(null)); }
public ActionResult Post2ForeignTrade(List <BaseAuditViewModel> baseAuditList) { var address = ""; var transM = new ApplicationImport(baseAuditList); //var result = ; //var br = new BaseResponse<object>() //{ // Data = result.Data, // Message = new[] { result.Message }, // Status = result.Status //}; return(Json(null)); }