first commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using F9WebAiTest.Domain.Entities.SYS.RBAC;
|
||||
|
||||
namespace F9WebAiTest.Domain.Interfaces.SYS.RBAC.Menus;
|
||||
|
||||
/// <summary>菜单写仓储(聚合根仓储)</summary>
|
||||
public interface IMenuWriteRepository : IDInterface
|
||||
{
|
||||
Task<Menu> GetByIdAsync(long id);
|
||||
Task<bool> AddAsync(Menu menu);
|
||||
Task<bool> UpdateAsync(Menu menu);
|
||||
Task<bool> SoftDeleteAsync(long id);
|
||||
Task<bool> ActiveOrDeactive(long id, bool active);
|
||||
}
|
||||
Reference in New Issue
Block a user