14 lines
415 B
C#
14 lines
415 B
C#
using Liber_Incantamentum.Domain.Entities;
|
|
using Liber_Incantamentum.Domain.Filter;
|
|
|
|
namespace Liber_Incantamentum.Domain.Repositories
|
|
{
|
|
public interface ISpellRepository
|
|
{
|
|
Task<ICollection<Spell>?> GetAllSpellAsync(SpellFilter filter);
|
|
Task<bool> UpdateSpellAsync(SpellFilter filter);
|
|
Task<bool> DeleteSpellAsync(Guid id);
|
|
Task<bool> AddSpellAsync(Spell entity);
|
|
}
|
|
}
|