OpenAuth.Net/OpenAuth.Domain/Interface/IRoleRepository.cs

17 lines
434 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
2015-11-19 21:49:39 +08:00
using System.Linq;
namespace OpenAuth.Domain.Interface
{
public interface IRoleRepository :IRepository<Role>
{
IEnumerable<Role> LoadRoles(int pageindex, int pagesize);
int GetRoleCntInOrgs(params Guid[] orgIds);
IEnumerable<Role> LoadInOrgs(int pageindex, int pagesize, params Guid[] orgIds);
2015-11-19 21:49:39 +08:00
void Delete(Guid id);
2015-11-19 21:49:39 +08:00
}
}