15 lines
463 B
C#
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);
|
|
}
|
|
}
|