mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-05-08 14:48:03 +08:00
17 lines
508 B
C#
17 lines
508 B
C#
![]() |
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
|
||
|
namespace OpenAuth.Domain.Interface
|
||
|
{
|
||
|
public interface ICategoryRepository :IRepository<Category>
|
||
|
{
|
||
|
IEnumerable<Category> LoadCategorys(int pageindex, int pagesize);
|
||
|
|
||
|
IEnumerable<Category> LoadInOrgs(params int[] orgId);
|
||
|
int GetCategoryCntInOrgs(params int[] orgIds);
|
||
|
IEnumerable<Category> LoadInOrgs(int pageindex, int pagesize, params int[] orgIds);
|
||
|
|
||
|
void Delete(int id);
|
||
|
|
||
|
}
|
||
|
}
|