using BCards.Web.Models; namespace BCards.Web.Repositories; public interface ICategoryRepository { Task> GetAllActiveAsync(); Task GetBySlugAsync(string slug); Task GetByIdAsync(string id); Task CreateAsync(Category category); Task UpdateAsync(Category category); Task DeleteAsync(string id); Task SlugExistsAsync(string slug, string? excludeId = null); }