Test temp fix for cond

This commit is contained in:
asesidaa
2023-10-12 02:20:43 +08:00
parent dbc776ddda
commit 7edcd07723
3 changed files with 18 additions and 1 deletions
@@ -0,0 +1,14 @@
namespace Application.Game.Card.Write;
public record WriteCondCommand(long CardId, string Data) : IRequestWrapper<string>;
public class WriteCondCommandHandler : RequestHandlerBase<WriteCondCommand, string>
{
public WriteCondCommandHandler(ICardDependencyAggregate aggregate) : base(aggregate) {}
public override Task<ServiceResult<string>> Handle(WriteCondCommand request, CancellationToken cancellationToken)
{
// TODO: Add proper implementation
return Task.FromResult(new ServiceResult<string>(request.Data));
}
}