2025-08-16 21:01:14 +02:00

15 lines
463 B
C#

using Liber_Incantamentum.Domain.Entities;
using Liber_Incantamentum.Domain.Filter;
namespace Liber_Incantamentum.Domain.Repositories
{
public interface ISpellRepository
{
Task<ICollection<Spell>> GetAllSpellsAsync(SpellFilter filterEntity);
Task<bool> UpdateSpellAsync(Spell entity);
Task<bool> DeleteSpellAsync(Guid id);
Task<bool> AddSpellAsync(Spell entity);
Task<Spell> GetSpellByIdAsync(Guid id);
}
}