using UserManagement.Application.Dtos.Incomming; using UserManagement.Application.Dtos.Outgoing; using UserManagement.Domain.Entities; namespace UserManagement.Application.Interfaces { public interface IRoleService { // CREATE Task AddRoleAsync(CreatingRoleDto creatingRoleDto); // READ ALL Task> GetAllRolesAsync(); // READ BY ID Task GetRoleByIdAsync(int id); // READ BY NAME Task GetRoleByNameAsync(string name); // UPDATE Task UpdateRoleAsync(UpdatingRoleDto updatingRoleDto); // DELETE Task DeleteRoleAsync(int id); } }