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

17 lines
863 B
C#

using Application.Classes;
using Application.DataTransferObjects.MarshalGuardParticipant;
namespace Application.Interfaces;
public interface IMarshalGuardParticipantRepository
{
Task<Result<MarshalGuardParticipantDto>> GetMarshalGuardParticipantAsync(Guid marshalGuardParticipantId,
CancellationToken cancellationToken);
Task<Result<bool>> InsertMarshalGuardParticipantAsync(
List<CreateMarshalGuardParticipantDto> createMarshalGuardParticipantsDto, CancellationToken cancellationToken);
Task<Result<List<MarshalGuardParticipantDto>>> GetPlayerMarshalParticipantsAsync(Guid playerId, int last, CancellationToken cancellationToken);
Task<Result<MarshalGuardParticipantDto>> UpdateMarshalGuardParticipantAsync(
UpdateMarshalGuardParticipantDto updateMarshalGuardParticipantDto, CancellationToken cancellationToken);
}