using PnvPanel.Application.Common.Interfaces; using PnvPanel.Application.Common.Messaging; using PnvPanel.Application.Common.Models; namespace PnvPanel.Application.Admin.Roles; public sealed class DeleteRoleCommandHandler(IRoleService roleService) : ICommandHandler { public Task Handle(DeleteRoleCommand command, CancellationToken cancellationToken) => roleService.DeleteRoleAsync(command.RoleId, cancellationToken); }