IRoleService.cs 792 B

1234567891011121314151617181920
  1. using Bowin.Common.Linq.Entity;
  2. using YLShipBuildLandMap.Entity.ViewModel.SystemSetting;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace YLShipBuildLandMap.Services.SystemSetting
  8. {
  9. public interface IRoleService
  10. {
  11. IGridResultSet<RoleView> GetRoleViewsForSelect(string roleName, int? pageIndex = null, int? pageSize = null);
  12. IGridResultSet<RoleView> GetRoleViewList(string roleName, int? pageIndex = null, int? pageSize = null);
  13. Task Save(RoleView role, List<string> functionCodes, Guid operatorID);
  14. RoleView GetRoleView(Guid roleID);
  15. Task Delete(List<Guid> roleIDList);
  16. RoleView GetRoleViewByName(string roleName);
  17. List<String> GetRoleMenuList(Guid roleID);
  18. }
  19. }