using F9WebAiTest.Domain.Entities.SYS.RBAC; namespace F9WebAiTest.Domain.Interfaces.SYS.RBAC.Roles; /// 角色写仓储(聚合根仓储) public interface IRoleWriteRepository : IDInterface { Task GetByIdAsync(long id); Task AddAsync(Role role); Task UpdateAsync(Role role); Task SoftDeleteAsync(long id); Task ActiveOrDeactive(long id, bool active); }