namespace Application.Game.Card.Read; public record ReadCondQuery(long CardId) : IRequestWrapper; public class ReadCondQueryHandler : RequestHandlerBase { private const string COND_XPATH = "/root/cond"; public ReadCondQueryHandler(ICardDependencyAggregate aggregate) : base(aggregate) { } public override Task> Handle(ReadCondQuery request, CancellationToken cancellationToken) { var result = new object().SerializeCardData(COND_XPATH); return Task.FromResult(new ServiceResult(result)); } }