1
0
mirror of synced 2024-12-18 17:25:54 +01:00
GC-local-server-rewrite/Application/Game/Card/Management/CardReissueCommand.cs

16 lines
568 B
C#
Raw Normal View History

2023-02-16 09:53:02 +01:00
namespace Application.Game.Card.Management;
2023-02-09 16:19:14 +01:00
public record CardReissueCommand(long CardId) : IRequestWrapper<string>;
2023-02-16 17:38:01 +01:00
public class ReissueCommandHandler : RequestHandlerBase<CardReissueCommand, string>
2023-02-09 16:19:14 +01:00
{
2023-02-16 17:38:01 +01:00
public ReissueCommandHandler(ICardDependencyAggregate aggregate) : base(aggregate)
2023-02-09 16:19:14 +01: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 16:19:14 +01:00
}
}