Files
the-biergarten-app/web/backend/Features/Features.Users/Commands/Account/UpdateUsername/UpdateUsernameCommand.cs
2026-09-06 01:23:51 -04:00

13 lines
464 B
C#

using Features.Users.Dtos;
using MediatR;
namespace Features.Users.Commands.Account.UpdateUsername;
/// <summary>Changes the username of the given user account.</summary>
/// <param name="UserAccountId">
/// The authenticated caller's own ID, extracted from the access token -- never bind this from
/// client-supplied input.
/// </param>
public record UpdateUsernameCommand(Guid UserAccountId, string NewUsername)
: IRequest<UpdateUsernamePayload>;