mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 02:29:24 +08:00
增加Module模块
This commit is contained in:
18
OpenAuth.Domain/Interface/IModuleRepository.cs
Normal file
18
OpenAuth.Domain/Interface/IModuleRepository.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace OpenAuth.Domain.Interface
|
||||
{
|
||||
public interface IModuleRepository :IRepository<Module>
|
||||
{
|
||||
IEnumerable<Module> LoadModules(int pageindex, int pagesize);
|
||||
|
||||
IEnumerable<Module> LoadInOrgs(params int[] orgId);
|
||||
int GetModuleCntInOrgs(params int[] orgIds);
|
||||
IEnumerable<Module> LoadInOrgs(int pageindex, int pagesize, params int[] orgIds);
|
||||
|
||||
|
||||
void Delete(int id);
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user