11 lines
233 B
C#
11 lines
233 B
C#
namespace F9WebAiTest.Application.Dtos.Common;
|
|
|
|
public record PagedResult<T>(
|
|
List<T> Items,
|
|
int Page,
|
|
int PageSize,
|
|
long TotalCount)
|
|
{
|
|
public int TotalPages => (int)Math.Ceiling((double)TotalCount / PageSize);
|
|
}
|