OpenAuth.Net/OpenAuth.Domain/Interface/IModuleRepository.cs

19 lines
526 B
C#
Raw Normal View History

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);
2017-10-11 16:19:34 +08:00
IEnumerable<Module> LoadInOrgs(params string[] orgId);
int GetModuleCntInOrgs(params string[] orgIds);
IEnumerable<Module> LoadInOrgs(int pageindex, int pagesize, params string[] orgIds);
2015-11-21 23:56:39 +08:00
2017-10-11 16:19:34 +08:00
void Delete(string id);
2015-11-21 23:56:39 +08:00
}
}