mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-10-14 17:54:42 +00:00
12 lines
406 B
C#
12 lines
406 B
C#
using Domain.Entities;
|
|
using MediatR;
|
|
|
|
namespace Features.Users.Queries.GetAllUsers;
|
|
|
|
/// <summary>
|
|
/// Requests a page of user accounts, ordered by creation date descending.
|
|
/// </summary>
|
|
/// <param name="Limit"><c>null</c> for no limit.</param>
|
|
/// <param name="Offset"><c>null</c> for no offset.</param>
|
|
public record GetAllUsersQuery(int? Limit, int? Offset) : IRequest<IEnumerable<UserAccount>>;
|