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

20 lines
664 B
C#
Raw Normal View History

2023-02-09 16:19:14 +01:00
using Application.Common.Models;
using Application.Interfaces;
using Domain.Enums;
namespace Application.Game.Card.Management;
public record CardReissueCommand(long CardId) : IRequestWrapper<string>;
public class CardReissueCommandHandler : CardRequestHandlerBase<CardReissueCommand, string>
{
public CardReissueCommandHandler(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));
2023-02-09 16:19:14 +01:00
}
}