ISystemRoleMenusRepository.cs 573 B

1234567891011121314151617181920
  1. using System.Collections.Generic;
  2. using System.Threading.Tasks;
  3. using Datory;
  4. using GxPress.Request.Role;
  5. namespace GxPress.Repository.Interface.SystemRoleMenus
  6. {
  7. public interface ISystemRoleMenusRepository : IRepository
  8. {
  9. /// <summary>
  10. /// 添加
  11. /// </summary>
  12. /// <param name="models"></param>
  13. /// <returns></returns>
  14. Task<bool> InsertAsync(SystemRoleMenusInRequest models);
  15. Task<IEnumerable<Entity.SystemRole.SystemRoleMenus>> GetAllAsync(int roleId);
  16. Task<bool> DeleteAsync(int roleId);
  17. }
  18. }