增加Module模块

This commit is contained in:
yubaolee
2015-11-21 23:56:39 +08:00
parent ea30b32af7
commit 12bd4591bb
13 changed files with 650 additions and 6 deletions

View 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);
}
}