mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-11-09 10:54:46 +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);
|
||||
|
||||
}
|
||||
}
|
||||
@@ -46,6 +46,7 @@
|
||||
<Compile Include="Core\User.cs" />
|
||||
<Compile Include="DicDetail.cs" />
|
||||
<Compile Include="DicIndex.cs" />
|
||||
<Compile Include="Interface\ICategoryRepository.cs" />
|
||||
<Compile Include="Interface\IModuleRepository.cs" />
|
||||
<Compile Include="Interface\IOrgRepository.cs" />
|
||||
<Compile Include="Interface\IRepository.cs" />
|
||||
|
||||
Reference in New Issue
Block a user