1
0
mirror of synced 2024-12-18 09:15:54 +01:00
GC-local-server-rewrite/Application/Game/Card/Management/CardReissueCommand.cs
2023-02-17 00:38:01 +08:00

16 lines
568 B
C#

namespace Application.Game.Card.Management;
public record CardReissueCommand(long CardId) : IRequestWrapper<string>;
public class ReissueCommandHandler : RequestHandlerBase<CardReissueCommand, string>
{
public ReissueCommandHandler(ICardDependencyAggregate aggregate) : base(aggregate)
{
}
public override Task<ServiceResult<string>> Handle(CardReissueCommand request, CancellationToken cancellationToken)
{
// TODO: Support actual reissue
return Task.FromResult(ServiceResult.Failed<string>(ServiceError.NotReissue));
}
}