Exemple #1
0
 public PagedList <UserInfoModel> GetPageList(int pageIndex, int pageSize)
 {
     try
     {
         int totalCount;
         List <UserInfoModel> modelList = userInfoDAL.GetPageList(pageIndex, pageSize, out totalCount);
         return(new PagedList <UserInfoModel>(modelList, pageIndex, pageSize, totalCount));
     }
     catch (Exception ex)
     {
         LogHelper.Error(ex);
         return(null);
     }
 }