using Application.Abstractions.Identity; using MediatR; namespace Application.Features.Director.Role.Create { public sealed class Handler(IIdentityRoleWriter roleWriter) : IRequestHandler { public async Task Handle(Command request, CancellationToken ct) { await roleWriter.CreateRoleAsync(request.RoleName ?? string.Empty, ct); } } }