| 12345678910111213 |
- using Application.Abstractions.Messaging;
- using Application.Abstractions.Identity;
- namespace Application.Features.Director.Role.Delete
- {
- public sealed class Handler(IIdentityRoleWriter roleWriter) : ICommandHandler<Command>
- {
- public async Task Handle(Command request, CancellationToken ct)
- {
- await roleWriter.DeleteRoleAsync(request.RoleID ?? string.Empty, ct);
- }
- }
- }
|