namespace Oms.Application.Shared; internal static class PagingHelper { public static int NormalizePageIndex(int pageIndex) { return pageIndex <= 0 ? 1 : pageIndex; } public static int NormalizePageSize(int pageSize) { return pageSize <= 0 ? 20 : pageSize; } }