mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-05-09 07:08:01 +08:00
16 lines
413 B
C#
16 lines
413 B
C#
![]() |
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
|
||
|
namespace OpenAuth.Domain.Interface
|
||
|
{
|
||
|
public interface IRoleRepository :IRepository<Role>
|
||
|
{
|
||
|
IEnumerable<Role> LoadRoles(int pageindex, int pagesize);
|
||
|
|
||
|
int GetRoleCntInOrgs(params int[] orgIds);
|
||
|
IEnumerable<Role> LoadInOrgs(int pageindex, int pagesize, params int[] orgIds);
|
||
|
|
||
|
void Delete(int id);
|
||
|
|
||
|
}
|
||
|
}
|