/// <summary> /// page /// </summary> /// <typeparam name="T">model type</typeparam> /// <param name="pageIndex">page index</param> /// <param name="pageSize">page size</param> /// <returns>page result</returns> public virtual Tuple <int, List <T> > Page <T>(int pageIndex, int pageSize) where T : class { IMainDal dal = new MainDal(); return(dal.Page <T>(pageIndex, pageSize)); }