1
0
mirror of synced 2025-02-14 09:42:42 +01:00

16 lines
568 B
C#
Raw Normal View History

2023-02-16 16:53:02 +08:00
namespace Application.Game.Card.Management;
2023-02-09 23:19:14 +08:00
public record CardReissueCommand(long CardId) : IRequestWrapper<string>;
2023-02-17 00:38:01 +08:00
public class ReissueCommandHandler : RequestHandlerBase<CardReissueCommand, string>
2023-02-09 23:19:14 +08:00
{
2023-02-17 00:38:01 +08:00
public ReissueCommandHandler(ICardDependencyAggregate aggregate) : base(aggregate)
2023-02-09 23:19:14 +08:00
{
}
public override Task<ServiceResult<string>> Handle(CardReissueCommand request, CancellationToken cancellationToken)
{
// TODO: Support actual reissue
return Task.FromResult(ServiceResult.Failed<string>(ServiceError.NotReissue));
2023-02-09 23:19:14 +08:00
}
}