Files
DMS/DMS.Infrastructure/Interfaces/IMenuRepository.cs

19 lines
514 B
C#
Raw Normal View History

2025-07-19 09:25:01 +08:00
using DMS.Core.Models;
using DMS.Core.Enums;
using System.Collections.Generic;
using System.Threading.Tasks;
2025-07-19 22:29:50 +08:00
using DMS.Infrastructure.Entities;
2025-07-19 09:25:01 +08:00
2025-07-19 11:11:01 +08:00
namespace DMS.Infrastructure.Interfaces
2025-07-19 09:25:01 +08:00
{
public interface IMenuRepository
{
2025-07-19 22:29:50 +08:00
Task<int> DeleteAsync(DbMenu menu);
Task<List<DbMenu>> GetMenuTreesAsync();
Task<DbMenu> AddAsync(DbMenu menu);
Task<int> UpdateAsync(DbMenu menu);
Task BeginTranAsync();
Task CommitTranAsync();
Task RollbackTranAsync();
2025-07-19 09:25:01 +08:00
}
}