2023-02-12 18:46:08 +01:00
|
|
|
using Application.Common.Extensions;
|
|
|
|
using Application.Common.Models;
|
|
|
|
using Application.Interfaces;
|
|
|
|
using Domain.Enums;
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
|
|
|
namespace Application.Game.Card.Read;
|
|
|
|
|
|
|
|
|
2023-02-12 19:12:26 +01:00
|
|
|
public record ReadCoinQuery(long CardId) : IRequestWrapper<string>;
|
2023-02-12 18:46:08 +01:00
|
|
|
|
|
|
|
public class ReadCoinQueryHandler : CardRequestHandlerBase<ReadCoinQuery, string>
|
|
|
|
{
|
|
|
|
public ReadCoinQueryHandler(ICardDependencyAggregate aggregate) : base(aggregate)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
public override Task<ServiceResult<string>> Handle(ReadCoinQuery request, CancellationToken cancellationToken)
|
|
|
|
{
|
|
|
|
throw new NotImplementedException();
|
|
|
|
}
|
|
|
|
}
|