OpenAuth.Net/OpenAuth.Domain/Interface/ICategoryRepository.cs
2015-12-15 23:04:20 +08:00

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