dotnet-cqrs/Demo/Commands/CreatePersonCommandHandler.cs
2021-02-03 10:50:28 -05:00

15 lines
385 B
C#

using PoweredSoft.CQRS.Abstractions;
using System.Threading;
using System.Threading.Tasks;
namespace Demo.Commands
{
public class CreatePersonCommandHandler : ICommandHandler<CreatePersonCommand>
{
public Task HandleAsync(CreatePersonCommand command, CancellationToken cancellationToken = default)
{
return Task.CompletedTask;
}
}
}