13 lines
453 B
C#
13 lines
453 B
C#
using Liber_Incantamentum.Application.DTOs.Spell;
|
|
|
|
namespace Liber_Incantamentum.Application.Interfaces
|
|
{
|
|
public interface ISpellService
|
|
{
|
|
Task<ICollection<SpellDto>> GetAllSpellsAsync(SpellDtoFilter filter);
|
|
Task<bool> UpdateSpellAsync(SpellDtoUpdate dto, Guid id);
|
|
Task<bool> DeleteSpellAsync(Guid id);
|
|
Task<bool> AddSpellAsync(SpellDtoCreate dto);
|
|
Task<SpellDto>? GetSpellByIdAsync(Guid id);
|
|
}
|
|
} |