mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-10-14 17:54:42 +00:00
12 lines
466 B
C#
12 lines
466 B
C#
using Domain.Entities;
|
|
using MediatR;
|
|
|
|
namespace Features.Users.Queries.GetUserById;
|
|
|
|
/// <param name="UserAccountId">The account to fetch.</param>
|
|
/// <param name="RequestingUserId">
|
|
/// The authenticated caller's ID, from the access token. It must equal
|
|
/// <paramref name="UserAccountId" />. This query returns private fields, including <c>Email</c>.
|
|
/// </param>
|
|
public record GetUserByIdQuery(Guid UserAccountId, Guid RequestingUserId) : IRequest<UserAccount>;
|