mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 10:37:55 +08:00
添加角色处理
This commit is contained in:
16
OpenAuth.Domain/Interface/IRoleRepository.cs
Normal file
16
OpenAuth.Domain/Interface/IRoleRepository.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
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);
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user