21 lines
645 B
C#
21 lines
645 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Koopgle.Application.DTOs;
|
|
|
|
namespace Koogle.Application.Interfaces
|
|
{
|
|
public interface IPlayerService
|
|
{
|
|
Task<IReadOnlyList<PlayerDto>> GetAllAsync(CancellationToken cancellationToken = default);
|
|
|
|
Task<PlayerDto> CreateAsync(CreatePlayerDto dto, CancellationToken cancellationToken = default);
|
|
|
|
Task<PlayerDto> UpdateAsync(int id, UpdatePlayerDto dto, CancellationToken cancellationToken = default);
|
|
|
|
Task DeleteAsync(int id, CancellationToken cancellationToken = default);
|
|
}
|
|
}
|