Files
the-biergarten-app/web/backend/Features/Features.Users/Commands/Profile/UpdateProfile/UpdateProfileCommand.cs
2026-09-06 01:23:51 -04:00

20 lines
594 B
C#

using Features.Users.Dtos;
using MediatR;
namespace Features.Users.Commands.Profile.UpdateProfile;
/// <summary>
/// Updates the non-credential profile fields (first name, last name, date of birth) 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 UpdateProfileCommand(
Guid UserAccountId,
string FirstName,
string LastName,
DateTime DateOfBirth
) : IRequest<UpdateProfilePayload>;