using System; using System.Collections.Generic; using System.Linq; namespace OpenAuth.Domain.Interface { public interface IRoleRepository :IRepository { IEnumerable LoadRoles(int pageindex, int pagesize); int GetRoleCntInOrgs(params string[] orgIds); IEnumerable LoadInOrgs(int pageindex, int pagesize, params string[] orgIds); IEnumerable LoadInOrgs(params string[] orgId); IEnumerable LoadForUser(string userId); void Delete(string id); } }