You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
713 B
24 lines
713 B
using System; |
|
using System.Collections.Generic; |
|
using System.Threading; |
|
using System.Threading.Tasks; |
|
using Volo.Abp.Domain.Repositories; |
|
|
|
namespace Sanhe.Abp.MenuManagement |
|
{ |
|
public interface IMenuGrantRepository : IBasicRepository<MenuGrant, Guid> |
|
{ |
|
Task<MenuGrant> FindAsync(Guid menuId, |
|
string providerName, |
|
string providerKey, |
|
CancellationToken cancellationToken = default); |
|
|
|
Task<List<MenuGrant>> GetListAsync( |
|
string providerName, |
|
string providerKey, |
|
CancellationToken cancellationToken = default |
|
); |
|
|
|
Task<List<MenuGrant>> GetGrantByMenuIdAsync(Guid menuId, bool noTracking = true); |
|
} |
|
}
|
|
|