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