@@ -127,7 +127,7 @@ public class SegmentationService(IRepository<Segmentation> _segmentationReposito
|
||||
.WhereIf(inQuery.Id != null, x => x.Id == inQuery.Id)
|
||||
.ProjectTo<SegmentView>(_mapper.ConfigurationProvider);
|
||||
|
||||
var pageList = await segmentQueryable.ToPagedListAsync(inQuery);
|
||||
var pageList = await segmentQueryable.ToPagedListAsync(inQuery,nameof(SegmentView.SegmentMumber));
|
||||
|
||||
return pageList;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user