using System; using System.Collections.Generic; using System.Threading.Tasks; using Volo.Abp.Authorization.Permissions; namespace Sanhe.Abp.MenuManagement { public interface IMenuManager { IReadOnlyList GetPermissions(string providerName); Task GetAsync(Guid menuId, string providerName, string providerKey); Task SetAsync(Guid menuId, string providerName, string providerKey, bool isGranted); Task UpdatePermissionGrantAsync(Guid menuId, string oldPermission, string newPermission); } }