var param = new { OfficeID = OfficeID, CenterID = CenterID};
var getData = ultimateReportService.GetDataWithParameter(param, "getCollectionEntryScreen");
var detail = getData.Tables[0].AsEnumerable().Select(p => new OLRSAccChartMappingViewModel
{
Id = p.Field<int>("Id"),
AccCodeOLRS = p.Field<string>("AccCodeOLRS"),
AccChartCode = p.Field<string>("AccCode")
}).ToList();
No comments:
Post a Comment