mirror of
https://github.com/TomasiDeveloping/PlayerManagement.git
synced 2026-04-16 09:12:20 +00:00
21 lines
963 B
C#
21 lines
963 B
C#
using Application.Classes;
|
|
using Application.DataTransferObjects.CustomEvent;
|
|
|
|
namespace Application.Interfaces;
|
|
|
|
public interface ICustomEventRepository
|
|
{
|
|
Task<Result<CustomEventDto>> GetCustomEventAsync(Guid customEventId, CancellationToken cancellationToken);
|
|
|
|
Task<Result<CustomEventDetailDto>> GetCustomEventDetailAsync(Guid customEventId, CancellationToken cancellationToken);
|
|
|
|
Task<Result<List<CustomEventDto>>> GetAllianceCustomEventsAsync(Guid allianceId, int take, CancellationToken cancellationToken);
|
|
|
|
Task<Result<CustomEventDto>> CreateCustomEventAsync(CreateCustomEventDto createCustomEventDto, string createdBy,
|
|
CancellationToken cancellationToken);
|
|
|
|
Task<Result<CustomEventDto>> UpdateCustomEventAsync(UpdateCustomEventDto updateCustomEventDto, string modifiedBy,
|
|
CancellationToken cancellationToken);
|
|
|
|
Task<Result<bool>> DeleteCustomEventAsync(Guid customEventId, CancellationToken cancellationToken);
|
|
} |