OpenAuth.Net/OpenAuth.Domain/Interface/ICategoryRepository.cs

18 lines
530 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
2015-12-15 23:04:20 +08:00
using System.Linq;
namespace OpenAuth.Domain.Interface
{
public interface ICategoryRepository :IRepository<Category>
{
IEnumerable<Category> LoadCategorys(int pageindex, int pagesize);
IEnumerable<Category> LoadInOrgs(params Guid[] orgId);
int GetCategoryCntInOrgs(params Guid[] orgIds);
IEnumerable<Category> LoadInOrgs(int pageindex, int pagesize, params Guid[] orgIds);
2015-12-15 23:04:20 +08:00
void Delete(Guid id);
2015-12-15 23:04:20 +08:00
}
}