14 lines
362 B
C#
14 lines
362 B
C#
using AutobusApi.Application.Common.Models;
|
|
using MediatR;
|
|
|
|
namespace AutobusApi.Application.Countries.Queries.GetCountriesWithPagination;
|
|
|
|
public record GetCountriesWithPaginationQuery : IRequest<PaginatedList<CountryDto>>
|
|
{
|
|
public string Sort { get; set; } = "";
|
|
|
|
public int PageNumber { get; set; } = 1;
|
|
|
|
public int PageSize { get; set; } = 10;
|
|
}
|