mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-07-16 17:47:22 +00:00
Begins the move to vertical-slice architecture. ResponseBody moves out of API.Core into Shared.Contracts so slices won't have to depend on the API host project for it. Shared.Application adds the MediatR pipeline's ValidationBehavior plus the cross-slice email commands that Features.Auth will send and Features.Emails will handle, keeping slices decoupled from each other.
14 lines
404 B
C#
14 lines
404 B
C#
using MediatR;
|
|
|
|
namespace Shared.Application.Emails;
|
|
|
|
/// <summary>
|
|
/// Cross-slice command sent by Features.Auth and handled by Features.Emails to dispatch a
|
|
/// fresh confirmation-link email, without either slice taking a project reference on the other.
|
|
/// </summary>
|
|
public record SendResendConfirmationEmailCommand(
|
|
string FirstName,
|
|
string Email,
|
|
string ConfirmationToken
|
|
) : IRequest;
|