2025-07-24 20:03:19 +02:00

17 lines
465 B
C#

using Domain.DTO;
using Domain.Entities;
using Domain.Filters;
namespace Domain.Repositories
{
public interface ISpellRepository
{
Task<ICollection<Spell>> GetAll();
Task<Spell> GetSpellById(Guid id);
Task<ICollection<Spell>> GetFilteredSpells(SpellFilter spellfilter);
Task<Spell> UpdateSpell(UpdateSpell updateSpellObject);
Task<bool> DeleteSpell(Guid id);
Task<Spell> CreateSpell(Spell spell);
}
}