namespace CSR.Application.Interfaces; using CSR.Domain.Entities; public interface IRoleRepository { Task GetByIdAsync(int id); // Task GetByNameAsync(string name); // Task> GetAllAsync(); Task AddAsync(Role role); // Task UpdateAsync(Role role); Task DeleteAsync(int id); }