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