using Project.Domain.Entities; namespace Project.Infrastructure.Interfaces { public interface ICategoryRepository { // CREATE Task AddAsync(Category category); // READ ALL Task> GetAllAsync(); // READ BY ID Task GetByIdAsync(int id); // READ BY NAME Task GetByNameAsync(string name); // UPDATE Task UpdateAsync(Category category); // DELETE Task DeleteAsync(Category category); } }