ISysRoleService.cs 538 B

123456789101112131415161718
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application
  3. {
  4. public interface ISysRoleService
  5. {
  6. Task Add(AddSysRoleInput input);
  7. Task Del(DeleteSysRoleInput input);
  8. Task Update(UpdateSysRoleInput input);
  9. /// <summary>
  10. /// 获取当前用户角色数据权限范围
  11. /// </summary>
  12. /// <returns></returns>
  13. Task<RoleDataScope> GetCurrentUserDataScope();
  14. Task<List<SysRoleOutput>> GetAllList();
  15. Task<List<SysRoleOutput>> GetListByIds(List<int> ids);
  16. }
  17. }