public static int PageCount(int pageSize) { int a = ProCategoryService.PageCount(); if (a % pageSize == 0) { return(a / pageSize); } else { return(a / pageSize + 1); } }
public static PageList GetQuery(int pageIndex, int pageSize, ProductCategory pc) { return(ProCategoryService.GetQuery(pageIndex, pageSize, pc)); }
public static int DelCategory(ProductCategory pc) { return(ProCategoryService.DelCategory(pc)); }