PlayerManagement/Application/Interfaces/IDesertStormParticipantRepository.cs
Tomasi - Developing 35e83c4735 beta 0.0.3
2024-11-26 08:43:01 +01:00

17 lines
851 B
C#

using Application.Classes;
using Application.DataTransferObjects.DesertStormParticipants;
namespace Application.Interfaces;
public interface IDesertStormParticipantRepository
{
Task<Result<DesertStormParticipantDto>> GetDesertStormParticipantAsync(Guid desertStormParticipantId,
CancellationToken cancellationToken);
Task<Result<bool>> InsertDesertStormParticipantAsync(
List<CreateDesertStormParticipantDto> createDesertStormParticipants, CancellationToken cancellationToken);
Task<Result<List<DesertStormParticipantDto>>> GetPlayerDesertStormParticipantsAsync(Guid playerId, int last, CancellationToken cancellationToken);
Task<Result<DesertStormParticipantDto>> UpdateDesertStormParticipantAsync(
UpdateDesertStormParticipantDto updateDesertStormParticipantDto, CancellationToken cancellationToken);
}