2016-09-02 18:05:17 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2015-11-21 23:56:39 +08:00
|
|
|
|
using System.Linq;
|
|
|
|
|
|
|
|
|
|
namespace OpenAuth.Domain.Interface
|
|
|
|
|
{
|
|
|
|
|
public interface IModuleRepository :IRepository<Module>
|
|
|
|
|
{
|
|
|
|
|
IEnumerable<Module> LoadModules(int pageindex, int pagesize);
|
|
|
|
|
|
2016-09-02 18:05:17 +08:00
|
|
|
|
IEnumerable<Module> LoadInOrgs(params Guid[] orgId);
|
|
|
|
|
int GetModuleCntInOrgs(params Guid[] orgIds);
|
|
|
|
|
IEnumerable<Module> LoadInOrgs(int pageindex, int pagesize, params Guid[] orgIds);
|
2015-11-21 23:56:39 +08:00
|
|
|
|
|
|
|
|
|
|
2016-09-02 18:05:17 +08:00
|
|
|
|
void Delete(Guid id);
|
2015-11-21 23:56:39 +08:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|