mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-04-05 08:37:28 +08:00
18 lines
513 B
C#
18 lines
513 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
|
|
namespace OpenAuth.Domain.Interface
|
|
{
|
|
public interface IResourceRepository :IRepository<Resource>
|
|
{
|
|
IEnumerable<Resource> LoadResources(int pageindex, int pagesize);
|
|
|
|
IEnumerable<Resource> LoadInOrgs(params Guid[] orgId);
|
|
int GetResourceCntInOrgs(params Guid[] orgIds);
|
|
IEnumerable<Resource> LoadInOrgs(int pageindex, int pagesize, params Guid[] orgIds);
|
|
|
|
void Delete(Guid id);
|
|
|
|
}
|
|
} |