using F9WebAiTest.Domain.Entities.SYS.RBAC; namespace F9WebAiTest.Domain.Interfaces.SYS.RBAC.Menus; /// 菜单写仓储(聚合根仓储) public interface IMenuWriteRepository : IDInterface { Task GetByIdAsync(long id); Task AddAsync(Menu menu); Task UpdateAsync(Menu menu); Task SoftDeleteAsync(long id); Task ActiveOrDeactive(long id, bool active); }