mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 10:37:55 +08:00
添加Category
This commit is contained in:
17
OpenAuth.Domain/Interface/ICategoryRepository.cs
Normal file
17
OpenAuth.Domain/Interface/ICategoryRepository.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
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);
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user