添加Category

This commit is contained in:
yubaolee
2015-12-15 23:04:20 +08:00
parent 999046f887
commit f79e5c08fa
15 changed files with 1083 additions and 575 deletions

View 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);
}
}