public JsonResult GetPendingProductHelpList(string searchTerm, int pageSize, int pageNum, int filter)//Order Header ID { var Records = new JobReceiveQALineService(db, _unitOfWork).GetPendingProductHelpList(filter, searchTerm); var temp = Records.Skip(pageSize * (pageNum - 1)).Take(pageSize).ToList(); var count = Records.Count(); ComboBoxPagedResult Data = new ComboBoxPagedResult(); Data.Results = temp; Data.Total = count; return(new JsonpResult { Data = Data, JsonRequestBehavior = JsonRequestBehavior.AllowGet }); }