using System; using System.Threading; using System.Threading.Tasks; namespace PoweredSoft.CQRS.Abstractions { public interface ICommandHandler where TCommand : class { Task HandleAsync(TCommand command, CancellationToken cancellationToken = default); } public interface ICommandHandler where TCommand : class { Task HandleAsync(TCommand command, CancellationToken cancellationToken = default); } }